From 1352c392bcaf94e6aef2d135878f198e9c9876c3 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Sat, 6 Jul 2024 16:22:18 +0200 Subject: [PATCH 01/11] eselect, eselect-{repository,locale}: add page (#13228) * eselect: add page * eselect-repository: add page * eselect-locale: add page --- pages/linux/eselect-locale.md | 16 +++++++++++++++ pages/linux/eselect-repository.md | 33 +++++++++++++++++++++++++++++++ pages/linux/eselect.md | 17 ++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 pages/linux/eselect-locale.md create mode 100644 pages/linux/eselect-repository.md create mode 100644 pages/linux/eselect.md 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-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..ca07e7d1c4b423 --- /dev/null +++ b/pages/linux/eselect.md @@ -0,0 +1,17 @@ +# eselect + +> Gentoo's multi-purpose configuration and management tool. +> It consists of various modules that take care of individual administrative tasks. +> 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` From f77e49fb2bce08bffb65adfe3cf206807ad41812 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Sun, 7 Jul 2024 02:55:01 +1000 Subject: [PATCH 02/11] id: edit page (#13229) --- pages/common/id.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/common/id.md b/pages/common/id.md index 96859f471cda19..9ee22c97a3f6a8 100644 --- a/pages/common/id.md +++ b/pages/common/id.md @@ -7,11 +7,19 @@ `id` +- Display the current user identity: + +`id -un` + - Display the current user identity as a number: `id -u` -- Display the current group identity as a number: +- Display the current primary group identity: + +`id -gn` + +- Display the current primary group identity as a number: `id -g` From d9b667808b27760fc9d8ce5909c3758025f89ae9 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 6 Jul 2024 21:33:52 +0300 Subject: [PATCH 03/11] vulkaninfo: add page (#13203) Co-authored-by: spageektti Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/vulkaninfo.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/vulkaninfo.md 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` From b06d91934a84a81db88a2661559dd827812c425f Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 7 Jul 2024 00:23:53 +0300 Subject: [PATCH 04/11] systemctl-reboot: add page (#13232) --- pages/linux/systemctl-reboot.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/systemctl-reboot.md 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` From 8b2a5527fe0cc83c416840be3360264c38097b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Sun, 7 Jul 2024 03:38:50 -0300 Subject: [PATCH 05/11] wafw00f: add Spanish translation (#13209) * wafw00f: add Spanish translation * Update wafw00f.md --- pages.es/common/wafw00f.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages.es/common/wafw00f.md diff --git a/pages.es/common/wafw00f.md b/pages.es/common/wafw00f.md new file mode 100644 index 00000000000000..83b2f2335b2f26 --- /dev/null +++ b/pages.es/common/wafw00f.md @@ -0,0 +1,32 @@ +# wafw00f + +> Identifica y toma las huellas digitales de los productos Web Application Firewall (WAF) que protegen un sitio web. +> Más información: . + +- Comprueba si un sitio web utiliza algún WAF: + +`wafw00f {{https://www.ejemplo.com}}` + +- Comprueba a todos los WAF detectables sin detenerse en la primera coincidencia: + +`wafw00f --findall {{https://www.ejemplo.com}}` + +- Pasa peticiones a través de un [p]roxy (como BurpSuite): + +`wafw00f --proxy {{http://localhost:8080}} {{https://www.ejemplo.com}}` + +- [t]estea un producto WAF específico (ejecuta `wafw00f -l` para obtener una lista de todos los WAF compatibles): + +`wafw00f --test {{Cloudflare|Cloudfront|Fastly|ZScaler|...}} {{https://www.ejemplo.com}}` + +- Pasa cabeceras personalizadas desde un archivo: + +`wafw00f --headers {{ruta/a/cabeceras.txt}} {{https://www.ejemplo.com}}` + +- Lee entradas de destino desde un archivo y muestra una salida detallada (múltiples `v` para más verbosidad): + +`wafw00f --input {{ruta/a/urls.txt}} -v{{v}}` + +- [l]ista todos los WAF que pueden detectarse: + +`wafw00f --list` From b375e0d9e81b19c78c5c5def395d66996e10c247 Mon Sep 17 00:00:00 2001 From: Tianyi Tao Date: Sun, 7 Jul 2024 14:40:48 +0800 Subject: [PATCH 06/11] aircrack-ng: add Chinese translation (#13110) * aircrack-ng: create the Chinese translation * Apply suggestions from code review Co-authored-by: Jack Lin --------- Co-authored-by: Jack Lin --- pages.zh/common/aircrack-ng.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages.zh/common/aircrack-ng.md diff --git a/pages.zh/common/aircrack-ng.md b/pages.zh/common/aircrack-ng.md new file mode 100644 index 00000000000000..54e3dfe8d52c1e --- /dev/null +++ b/pages.zh/common/aircrack-ng.md @@ -0,0 +1,17 @@ +# aircrack-ng + +> 破解捕获数据包中的握手时段的 WEP 和 WPA/WPA2 密钥。 +> 是 Aircrack-ng 网络软件套件的一部分。 +> 更多信息: . + +- 使用字典文件破解捕获文件中的密钥: + +`aircrack-ng -w {{路径/到/字典文件.txt}} {{路径/到/捕获文件.cap}}` + +- 使用字典文件和接入点的 ESSID 破解捕获文件中的密钥: + +`aircrack-ng -w {{路径/到/字典文件.txt}} -e {{essid}} {{路径/到/捕获文件.cap}}` + +- 使用字典文件和接入点的 MAC 地址破解捕获文件中的密钥: + +`aircrack-ng -w {{路径/到/字典文件.txt}} --bssid {{mac}} {{路径/到/捕获文件.cap}}` From d406f692b570a1c2f68ad8a163f72693bfe3746d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Sun, 7 Jul 2024 04:16:50 -0300 Subject: [PATCH 07/11] cypher-shell: add Spanish translation (#13067) --- pages.es/common/cypher-shell.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pages.es/common/cypher-shell.md diff --git a/pages.es/common/cypher-shell.md b/pages.es/common/cypher-shell.md new file mode 100644 index 00000000000000..ef3cd81ee19509 --- /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 {{nombre_de_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` From 9e0c7e66bff375433d8c08b2822d66e427a8eb47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Sun, 7 Jul 2024 04:19:12 -0300 Subject: [PATCH 08/11] portageq: add Spanish translation (#13213) --- pages.es/linux/portageq.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages.es/linux/portageq.md 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|...}}` From c77913904cb367703c3ddbbe8ddeb37234aac062 Mon Sep 17 00:00:00 2001 From: Tran Dinh Dong <76928878+vanvuvuong@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:41:23 +0700 Subject: [PATCH 09/11] kubectl-config: add page (#13223) --- pages/common/kubectl-config.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pages/common/kubectl-config.md diff --git a/pages/common/kubectl-config.md b/pages/common/kubectl-config.md new file mode 100644 index 00000000000000..3a5d9cc55b0ff2 --- /dev/null +++ b/pages/common/kubectl-config.md @@ -0,0 +1,30 @@ +# 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` + +- 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` From 23f78e2df9701facc661b0e8bef4fbe08fe2abf1 Mon Sep 17 00:00:00 2001 From: Tran Dinh Dong <76928878+vanvuvuong@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:44:09 +0700 Subject: [PATCH 10/11] who: update deprecated command (#13222) --- pages.nl/common/who.md | 5 +---- pages.zh/common/who.md | 7 ++----- pages/common/who.md | 5 +---- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/pages.nl/common/who.md b/pages.nl/common/who.md index c062ab6422e773..1bb52df381afb0 100644 --- a/pages.nl/common/who.md +++ b/pages.nl/common/who.md @@ -1,16 +1,13 @@ # who > Toon wie er is ingelogd en gerelateerde gegevens (processen, opstarttijd). +> Bekijk ook: `whoami`. > Meer informatie: . - Toon de gebruikersnaam, line en tijd van alle huidige ingelogde sessies: `who` -- Toon informatie alleen voor de huidige terminalsessie: - -`who am i` - - Toon alle beschikbare informatie: `who -a` diff --git a/pages.zh/common/who.md b/pages.zh/common/who.md index 7e87242d0bb4af..fa386c61a2d594 100644 --- a/pages.zh/common/who.md +++ b/pages.zh/common/who.md @@ -1,16 +1,13 @@ # who > 显示当前登录用户和相关信息(进程,启动时间)。 -> 更多信息:. +> 参见: `whoami`。 +> 更多信息:。 - 显示用户名,终端线路,和所有当前登录会话的时间: `who` -- 仅显示当前终端会话信息: - -`who am i` - - 显示所有可用信息: `who -a` diff --git a/pages/common/who.md b/pages/common/who.md index cf2bc03e29b93d..7a32f9127d907e 100644 --- a/pages/common/who.md +++ b/pages/common/who.md @@ -1,16 +1,13 @@ # 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` From fcca78b25f8fc0912c04309efd56196deb72a812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Sun, 7 Jul 2024 08:37:00 -0300 Subject: [PATCH 11/11] poweroff: update Spanish translation (#13089) * poweroff: Update Spanish translation * Update pages.es/linux/poweroff.md Co-authored-by: spageektti * Update pages.es/linux/poweroff.md Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> * Update pages.es/linux/poweroff.md Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> * Update pages.es/linux/poweroff.md Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> * Update poweroff.md * Update poweroff.md --------- Co-authored-by: spageektti Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> --- pages.es/linux/poweroff.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/pages.es/linux/poweroff.md b/pages.es/linux/poweroff.md index 6c0dea0d0fc76a..e8079215fd1eb4 100644 --- a/pages.es/linux/poweroff.md +++ b/pages.es/linux/poweroff.md @@ -1,8 +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 --force --force` + +- Escribe una entrada en el archivo wtmp sin apagar el sistema: + +`poweroff --wtmp-only`