diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 87925c3fe3..9a62594ae6 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -1,4 +1,6 @@ name: Codespell +permissions: + contents: read on: pull_request: diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 0ab64b401b..cd104fa12e 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -72,8 +72,6 @@ If you are an owner of the organization, you can see an automated list [here](ht [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 -- **Nelson Figueroa ([@nelsonfigueroa](https://github.com/nelsonfigueroa)):** - [21 September 2024](https://github.com/tldr-pages/tldr/issues/13781) — 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))**: @@ -92,8 +90,8 @@ If you are an owner of the organization, you can see an automated list [here](ht [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 -- **Dylan McGivern ([@dmmqz](https://github.com/dmmqz))**: - [30 May 2025](https://github.com/tldr-pages/tldr/issues/16671) — present +- **Kristopher Sandoval ([@KristopherLeads](https://github.com/KristopherLeads))**: + [29 June 2025](https://github.com/tldr-pages/tldr/issues/17024) — 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)): @@ -152,6 +150,10 @@ If you are an owner of the organization, you can see an automated list [here](ht [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) ## Organization members @@ -178,14 +180,14 @@ An automated list can be found [here](https://github.com/orgs/tldr-pages/people) [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 -- **Wiktor Perskawiec ([@spageektti](https://github.com/spageektti))**: - [1 June 2024](https://github.com/tldr-pages/tldr/issues/12869) — present -- **Managor ([@Managor](https://github.com/Managor))**: - [3 October 2024](https://github.com/tldr-pages/tldr/issues/13956) — 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)): @@ -222,6 +224,10 @@ An automated list can be found [here](https://github.com/orgs/tldr-pages/people) [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 @@ -254,6 +260,10 @@ An automated list can be found [here](https://github.com/orgs/tldr-pages/people) [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)): diff --git a/contributing-guides/style-guide.md b/contributing-guides/style-guide.md index fbf48a8afb..2fbec32fe1 100644 --- a/contributing-guides/style-guide.md +++ b/contributing-guides/style-guide.md @@ -424,12 +424,13 @@ For example, `[d]ownload` in English may be translated into `[d]escargar` in Spa ### 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. -- 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). - 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 diff --git a/contributing-guides/translation-templates/common-arguments.md b/contributing-guides/translation-templates/common-arguments.md index 0207dbba55..a131a10a12 100644 --- a/contributing-guides/translation-templates/common-arguments.md +++ b/contributing-guides/translation-templates/common-arguments.md @@ -17,7 +17,7 @@ Only the left-alignment of the header gets lost and has to be re-added again (`| | 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_vai_hakemistoon | paketti | tunnus | +| 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 | diff --git a/contributing-guides/translation-templates/more-info-link.md b/contributing-guides/translation-templates/more-info-link.md index 791caa5309..b3f1de5faa 100644 --- a/contributing-guides/translation-templates/more-info-link.md +++ b/contributing-guides/translation-templates/more-info-link.md @@ -129,7 +129,7 @@ The templates can be changed when necessary, but if so, it needs to be updated h ### fi ```markdown -> Lisätietoja: . +> Lisätietoa: . ``` --- diff --git a/contributing-guides/translation-templates/subcommand-mention.md b/contributing-guides/translation-templates/subcommand-mention.md index 8b342bb07b..f71b111e60 100644 --- a/contributing-guides/translation-templates/subcommand-mention.md +++ b/contributing-guides/translation-templates/subcommand-mention.md @@ -128,7 +128,7 @@ Algunos subcomandos, como `example command`, tienen su propia documentación de ### fi ```markdown -Joillakin alakomennoilla, kuten `example command`, on omat käyttöoppaansa. +Joillakin alikomennoilla, kuten `example command`, on omat käyttöoppaansa. ``` --- diff --git a/pages.ar/common/go.md b/pages.ar/common/go.md index a855e4f91f..3a609fe04c 100644 --- a/pages.ar/common/go.md +++ b/pages.ar/common/go.md @@ -2,7 +2,7 @@ > إدارة كود مصدر Go. > بعض الأوامر الفرعية مثل `build` تحتوي على توثيق استخدام خاص بها. -> لمزيد من التفاصيل: . +> لمزيد من التفاصيل: . - تنزيل وتثبيت حزمة محددة بالمسار الخاص بها: diff --git a/pages.bn/linux/snap.md b/pages.bn/linux/snap.md index c5cb09db51..26300b7c55 100644 --- a/pages.bn/linux/snap.md +++ b/pages.bn/linux/snap.md @@ -1,6 +1,6 @@ # snap -> "স্ন্যাপ" স্বয়ংসম্পূর্ণ সফটওয়্যার প্যাকেজসমুহ পরিচালনার জন্য একটি টুল। +> "স্ন্যাপ" স্বয়ংসম্পূর্ণ সফটওয়্যার প্যাকেজসমুহ পরিচালনার জন্য একটি টুল। > এটি ".deb" এর জন্য `apt` এর অনুরূপ। > আরও তথ্য পাবেন: । diff --git a/pages.bn/osx/ditto.md b/pages.bn/osx/ditto.md index 9bd160cf82..20c540f9f4 100644 --- a/pages.bn/osx/ditto.md +++ b/pages.bn/osx/ditto.md @@ -3,7 +3,7 @@ > ফাইল এবং ডিরেক্টরি কপি করুন। > আরও তথ্য পাবেন: । -- সোর্স ডিরেক্টরির বিষয়বস্তু দিয়ে গন্তব্য ডিরেক্টরির বিষয়বস্তু ওভাররাইট করুন: +- সোর্স ডিরেক্টরির বিষয়বস্তু দিয়ে গন্তব্য ডিরেক্টরির বিষয়বস্তু ওভাররাইট করুন: `ditto {{সোর্স/এর/পথ}} {{গন্তব্য/এর/পথ}}` diff --git a/pages.cs/common/ls.md b/pages.cs/common/ls.md new file mode 100644 index 0000000000..28a0d59f05 --- /dev/null +++ b/pages.cs/common/ls.md @@ -0,0 +1,36 @@ +# ls + +> Vypsat 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]}}` + +- List files in [l]ong format, sorted by [S]ize (descending) recursively: + +`ls {{[-lSR|-lS --recursive]}}` + +- Vypsat všechny soubory s dlouhým formátem, seřazené podle velikosti (sestupně) rekurzivně: + +`ls {{[-ltr|-lt --reverse]}}` + +- Vypsat pouze adresáře: + +`ls {{[-d|--directory]}} */` diff --git a/pages.de/common/conda.md b/pages.de/common/conda.md index 830e3403f9..9850b93f6b 100644 --- a/pages.de/common/conda.md +++ b/pages.de/common/conda.md @@ -2,15 +2,15 @@ > Eine Paket-, Abhängigkeits- und Umgebungsverwaltung für beliebige Programmiersprachen. > Manche Unterbefehle wie `create` sind separat dokumentiert. -> Weitere Informationen: . +> Weitere Informationen: . - Erstelle eine neue Umgebung mit den zu installierenden Paketen: -`conda create --name {{umgebungsname}} {{python=3.9 matplotlib}}` +`conda create {{[-n|--name]}} {{umgebungsname}} {{python=3.9 matplotlib}}` - Liste alle Umgebungen auf: -`conda info --envs` +`conda info {{[-e|--envs]}}` - Lade eine Umgebung: @@ -22,7 +22,7 @@ - Lösche eine Umgebung (entferne alle Pakete): -`conda remove --name {{umgebungsname}} --all` +`conda remove {{[-n|--name]}} {{umgebungsname}} --all` - Installiere Pakete in die derzeit geladene Umgebung: @@ -34,4 +34,4 @@ - Lösche alle ungenutzten Pakete und leere den Cache: -`conda clean --all` +`conda clean {{[-a|--all]}}` diff --git a/pages.es/common/aircrack-ng.md b/pages.es/common/aircrack-ng.md index ce8cd3e5b4..bd9ab484db 100644 --- a/pages.es/common/aircrack-ng.md +++ b/pages.es/common/aircrack-ng.md @@ -1,17 +1,21 @@ # aircrack-ng -> Crackea claves WEP y WPA/WPA2 desde handshake en paquetes capturados. +> 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 [w]ordlist: +- Crackea la clave desde el archivo de captura usando un listado: -`aircrack-ng -w {{ruta/al/lista.txt}} {{ruta/al/captura.cap}}` +`aircrack-ng -w {{ruta/a/listado.txt}} {{ruta/a/captura.cap}}` -- Descifra la clave del archivo de captura utilizando [w]ordlist y el [e]ssid del punto de acceso: +- Crackea la clave usando múltiples hilos de CPU desde el archivo de captura usando una lista: -`aircrack-ng -w {{ruta/al/lista.txt}} -e {{essid}} {{ruta/al/captura.cap}}` +`aircrack-ng -p {{número}} -w {{ruta/a/listado.txt}} {{ruta/a/captura.cap}}` -- Descifra la clave del archivo de captura utilizando [w]ordlist y la dirección MAC del punto de acceso: +- Descifra la clave del archivo de captura utilizando un listado y el [e]ssid del punto de acceso: -`aircrack-ng -w {{ruta/al/lista.txt}} --bssid {{mac}} {{ruta/al/captura.cap}}` +`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/alias.md b/pages.es/common/alias.md index 6e37304da4..3d3860d8f2 100644 --- a/pages.es/common/alias.md +++ b/pages.es/common/alias.md @@ -2,7 +2,7 @@ > 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: . +> Más información: . - Lista todos los aliases: diff --git a/pages.es/common/b2sum.md b/pages.es/common/b2sum.md new file mode 100644 index 0000000000..d62e00f9b0 --- /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}}` + +- Mostrar 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/basenc.md b/pages.es/common/basenc.md new file mode 100644 index 0000000000..4424d896bb --- /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/bzcat.md b/pages.es/common/bzcat.md new file mode 100644 index 0000000000..f93e842f6d --- /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/dircolors.md b/pages.es/common/dircolors.md new file mode 100644 index 0000000000..667e8a0034 --- /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/fabric.md b/pages.es/common/fabric.md index 7f7973c293..469a061cb8 100644 --- a/pages.es/common/fabric.md +++ b/pages.es/common/fabric.md @@ -1,37 +1,37 @@ # fabric -> Un marco de trabajo de código abierto para aumentar el número de humanos utilizando IA. -> Proporciona un marco modular para resolver problemas específicos utilizando un conjunto de instrucciones de IA de origen colectivo. -> Más información: . +> 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 el setup para configurar fabric: +- Ejecuta la instalación para configurar fabric: -`fabric --setup` +`fabric {{[-S|--setup]}}` -- Lista todos los patrones disponibles: +- Muestra todos los patrones disponibles: -`fabric --listpatterns` +`fabric {{[-l|--listpatterns]}}` - Ejecuta un patrón con la entrada de un archivo: -`fabric --pattern {{nombre_del_patrón}} < {{ruta/al/archivo_de_entrada}}` +`fabric {{[-p|--pattern]}} {{nombre_del_patrón}} < {{ruta/a/archivo_de_entrada}}` -- Ejecuta un patrón en la URL de un vídeo de YouTube: +- Ejecuta un patrón en una dirección URL de YouTube: -`fabric --youtube "{{https://www.youtube.com/watch?v=id_del_video}}" --pattern {{nombre_del_patrón}}` +`fabric {{[-y|--youtube]}} "{{https://www.youtube.com/watch?v=video_id}}" {{[-p|--pattern]}} {{nombre_del_patrón}}` -- Encadena patrones pasando la salida de uno a otro: +- Encadena patrones conectando la salida de uno al otro: -`fabric --pattern {{patrón1}} | fabric --pattern {{patrón2}}` +`fabric {{[-p|--pattern]}} {{pattern1}} | fabric {{[-p|--pattern]}} {{pattern2}}` - Ejecuta un patrón personalizado definido por el usuario: -`fabric --pattern {{nombre_patrón_personalizado}}` +`fabric {{[-p|--pattern]}} {{nombre_patrón_personalizado}}` -- Ejecuta un patrón y guarda el resultado en un archivo: +- Ejecuta un patrón y guarda la salida en un archivo: -`fabric --pattern {{nombre_del_patrón}} --output {{ruta/a/archivo_salida}}` +`fabric {{[-p|--pattern]}} {{nombre_del_patrón}} {{[-o|--output]}} {{ruta/al/archivo_de_salida}}` - Ejecuta un patrón con las variables especificadas: -`fabric --pattern {{nombre_del_patrón}} --variable "{{nombre_de_la_variable}}:{{valor}}"` +`fabric {{[-p|--pattern]}} {{nombre_del_patrón}} {{[-v|--variable]}} "{{nombre_variable}}:{{valor}}"` diff --git a/pages.es/common/ftp.md b/pages.es/common/ftp.md new file mode 100644 index 0000000000..282e14b95b --- /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/getadusers.py.md b/pages.es/common/getadusers.py.md new file mode 100644 index 0000000000..d3d041280f --- /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 0000000000..be982cf921 --- /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/gvim.md b/pages.es/common/gvim.md new file mode 100644 index 0000000000..83a31675ba --- /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/kiterunner.md b/pages.es/common/kiterunner.md new file mode 100644 index 0000000000..f4957efc42 --- /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/komac.md b/pages.es/common/komac.md new file mode 100644 index 0000000000..f97673b7b1 --- /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/llvm-as.md b/pages.es/common/llvm-as.md index 85e04a9342..91ccd7120d 100644 --- a/pages.es/common/llvm-as.md +++ b/pages.es/common/llvm-as.md @@ -1,6 +1,6 @@ # llvm-as -> Ir de Representación intermedia LLVM (`.ll`) a Bitcode de Ensamblador (`.bc`). +> Ir de Representación intermedia LLVM (`.ll`) a Bitcode de Ensamblador (`.bc`). > Más información: . - Ensambla un archivo IR: diff --git a/pages.es/common/pulumi-org.md b/pages.es/common/pulumi-org.md new file mode 100644 index 0000000000..c9eb918621 --- /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/wafw00f.md b/pages.es/common/wafw00f.md index 83b2f2335b..f2e6e6b6a4 100644 --- a/pages.es/common/wafw00f.md +++ b/pages.es/common/wafw00f.md @@ -1,32 +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: . +> 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.ejemplo.com}}` +`wafw00f {{https://www.example.com}}` -- Comprueba a todos los WAF detectables sin detenerse en la primera coincidencia: +- Prueba todos los WAF detectables sin detenerte en el primer resultado: -`wafw00f --findall {{https://www.ejemplo.com}}` +`wafw00f {{[-a|--findall]}} {{https://www.example.com}}` -- Pasa peticiones a través de un [p]roxy (como BurpSuite): +- Pasa las solicitudes a través de un proxy (como BurpSuite): -`wafw00f --proxy {{http://localhost:8080}} {{https://www.ejemplo.com}}` +`wafw00f {{[-p|--proxy]}} {{http://localhost:8080}} {{https://www.example.com}}` -- [t]estea un producto WAF específico (ejecuta `wafw00f -l` para obtener una lista de todos los WAF compatibles): +- Probar un producto WAF específico (ejecutar `wafw00f --list` para obtener una lista de todos los WAF compatibles): -`wafw00f --test {{Cloudflare|Cloudfront|Fastly|ZScaler|...}} {{https://www.ejemplo.com}}` +`wafw00f {{[-t|--test]}} {{Cloudflare|Cloudfront|Fastly|ZScaler|...}} {{https://www.example.com}}` -- Pasa cabeceras personalizadas desde un archivo: +- Pasar encabezados personalizados desde un archivo: -`wafw00f --headers {{ruta/a/cabeceras.txt}} {{https://www.ejemplo.com}}` +`wafw00f {{[-H|--headers]}} {{path/to/headers.txt}} {{https://www.example.com}}` -- Lee entradas de destino desde un archivo y muestra una salida detallada (múltiples `v` para más verbosidad): +- Lee las entradas de destino desde un archivo y muestra una salida detallada (varias `v` para más detalles): -`wafw00f --input {{ruta/a/urls.txt}} -v{{v}}` +`wafw00f {{[-i|--input]}} {{ruta/a/urls.txt}} -{{vv}}` -- [l]ista todos los WAF que pueden detectarse: +- Lista todos los WAF que se pueden detectar: -`wafw00f --list` +`wafw00f {{[-l|--list]}}` diff --git a/pages.es/linux/crond.md b/pages.es/linux/crond.md new file mode 100644 index 0000000000..1e26efed91 --- /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/pipewire.md b/pages.es/linux/pipewire.md index c237071406..4a1c949591 100644 --- a/pages.es/linux/pipewire.md +++ b/pages.es/linux/pipewire.md @@ -3,7 +3,7 @@ > Inicia el programa residente PipeWire. > Más información: . -- Inicia el programa residente PipeWire: +- Inicia el programa residente PipeWire: `pipewire` diff --git a/pages.es/linux/zenity.md b/pages.es/linux/zenity.md index bd3d68c70f..1cbea4cb95 100644 --- a/pages.es/linux/zenity.md +++ b/pages.es/linux/zenity.md @@ -12,7 +12,7 @@ `zenity --info --text="{{¡Hola!}}"` -- Muestra un formulario de nombre/contraseña y retorna los datos separados por ";": +- Muestra un formulario de nombre/contraseña y retorna los datos separados por ";": `zenity --forms --add-entry="{{Nombre}}" --add-password="{{Contraseña}}" --separator="{{;}}"` diff --git a/pages.es/osx/bc.md b/pages.es/osx/bc.md index e8ffe6bfd7..7f1880706a 100644 --- a/pages.es/osx/bc.md +++ b/pages.es/osx/bc.md @@ -14,7 +14,7 @@ - Calcula una expresión: -`bc --expression='{{5 / 3}}'` +`bc --expression '{{5 / 3}}'` - Ejecuta un script: @@ -22,8 +22,8 @@ - Calcula una expresión con la escala especificada: -`bc --expression='scale = {{10}}; {{5 / 3}}'` +`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}})'` +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.es/osx/mktemp.md b/pages.es/osx/mktemp.md index 903431a295..33e4354d64 100644 --- a/pages.es/osx/mktemp.md +++ b/pages.es/osx/mktemp.md @@ -9,7 +9,7 @@ - Usa un directorio personalizado (por defecto la salida de `getconf DARWIN_USER_TEMP_DIR`, o `/tmp`): -`mktemp --tmpdir={{/ruta/a/tempdir}}` +`mktemp --tmpdir {{/ruta/a/tempdir}}` - Usa una plantilla de ruta personalizada (las `X` se sustituyen por caracteres alfanuméricos aleatorios): diff --git a/pages.es/osx/say.md b/pages.es/osx/say.md index c38fa64143..62e2c46422 100644 --- a/pages.es/osx/say.md +++ b/pages.es/osx/say.md @@ -9,20 +9,20 @@ - Lee un archivo en voz alta: -`say --input-file={{nombre_de_archivo.txt}}` +`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.}}"` +`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="?"` +`say --voice "?"` - Di algo en polaco: -`say --voice={{Zosia}} "{{Litwo, ojczyzno moja!}}"` +`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.}}"` +`say --output-file {{nombre_de_fichero.aiff}} "{{Aquí están los locos.}}"` diff --git a/pages.es/osx/shuf.md b/pages.es/osx/shuf.md index ce4bf5d0b8..ba0175185a 100644 --- a/pages.es/osx/shuf.md +++ b/pages.es/osx/shuf.md @@ -13,7 +13,7 @@ - Escribe el resultado en otro archivo: -`shuf {{nombre_archivo}} --output={{nombre_archivo_salida}}` +`shuf {{nombre_archivo}} --output {{nombre_archivo_salida}}` - Genera números aleatorios en el rango 1-10: diff --git a/pages.es/osx/terminal-notifier.md b/pages.es/osx/terminal-notifier.md index 23900d8ab7..07cc8be7ac 100644 --- a/pages.es/osx/terminal-notifier.md +++ b/pages.es/osx/terminal-notifier.md @@ -17,4 +17,4 @@ - Abre una aplicación al hacer clic en la notificación: -`terminal-notifier -message '{{Importados 42 contactos.}}' -activate {{com.apple.AddressBook}}` +`terminal-notifier -message '{{Importados 42 contactos.}}' -activate {{com.apple.AddressBook}}` diff --git a/pages.es/windows/choco-install.md b/pages.es/windows/choco-install.md new file mode 100644 index 0000000000..0ddbcfccdd --- /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/where-object.md b/pages.es/windows/where-object.md new file mode 100644 index 0000000000..7b2c233f2e --- /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.fa/linux/pacman.md b/pages.fa/linux/pacman.md index d35adb2f9e..dabb991718 100644 --- a/pages.fa/linux/pacman.md +++ b/pages.fa/linux/pacman.md @@ -33,6 +33,6 @@ `pacman -Qtdq` -- خالی کردن کل کش `pacman`: +- خالی کردن کل کش `pacman`: `sudo pacman -Scc` diff --git a/pages.fi/linux/adduser.md b/pages.fi/linux/adduser.md index 272c0fd24b..d5a536216a 100644 --- a/pages.fi/linux/adduser.md +++ b/pages.fi/linux/adduser.md @@ -1,7 +1,7 @@ # adduser > Käyttäjän lisäysapuohjelma. -> Lisätietoja: . +> Lisätietoa: . - Luo uusi käyttäjä oletuskotihakemistolla ja pyydä käyttäjää asettamaan salasana: diff --git a/pages.fr/common/go.md b/pages.fr/common/go.md index 552953126e..8ef2f83975 100644 --- a/pages.fr/common/go.md +++ b/pages.fr/common/go.md @@ -2,7 +2,7 @@ > Outil de gestion du code source Go. > Certaines sous-commandes telles que `build` ont leur propre documentation d'utilisation. -> Plus d'informations : . +> Plus d'informations : . - Télécharger et installer un paquet, spécifié par son chemin d'importation : diff --git a/pages.id/common/tar.md b/pages.id/common/tar.md index d8408ff312..f23992784f 100644 --- a/pages.id/common/tar.md +++ b/pages.id/common/tar.md @@ -24,7 +24,7 @@ `tar xf {{jalan/menuju/sumber.tar[.gz|.bz2|.xz]}} --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: +- 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 ...}}` diff --git a/pages.id/osx/shuf.md b/pages.id/osx/shuf.md index b80e3a11da..259548ae50 100644 --- a/pages.id/osx/shuf.md +++ b/pages.id/osx/shuf.md @@ -13,7 +13,7 @@ - Menuliskan output ke file lain: -`shuf {{nama_file}} --output={{nama_file_output}}` +`shuf {{nama_file}} --output {{nama_file_output}}` - Men-generate angka acak dari 1-10: diff --git a/pages.it/common/binwalk.md b/pages.it/common/binwalk.md index 5ffe17c3bf..afd2d9847c 100644 --- a/pages.it/common/binwalk.md +++ b/pages.it/common/binwalk.md @@ -9,20 +9,20 @@ - Estrae file da un binario, specificando la directory di output: -`binwalk --extract --directory {{directory_di_output}} {{percorso/del/file}}` +`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 --extract --matryoshka --depth {{2}} {{percorso/del/file}}` +`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 --dd '{{png image:png}}' {{percorso/del/file}}` +`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 --entropy --save {{percorso/del/file}}` +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{percorso/del/file}}` - Combina analisi di entropia, firme e opcode in un unico comando: -`binwalk --entropy --signature --opcodes {{percorso/del/file}}` +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{percorso/del/file}}` diff --git a/pages.it/common/conda.md b/pages.it/common/conda.md index 3dc0874b6f..21cb0f400b 100644 --- a/pages.it/common/conda.md +++ b/pages.it/common/conda.md @@ -2,15 +2,15 @@ > Gestione pacchetti, dipendenze ed ambiente per qualsiasi linguaggio di programmazione. > Alcuni comandi aggiuntivi, come `create`, hanno la propria documentazione. -> Maggiori informazioni: . +> Maggiori informazioni: . - Crea un nuovo ambiente, installandovi alcuni pacchetti: -`conda create --name {{nome_ambiente}} {{python=3.9 matplotlib}}` +`conda create {{[-n|--name]}} {{nome_ambiente}} {{python=3.9 matplotlib}}` - Elenca tutti gli ambienti: -`conda info --envs` +`conda info {{[-e|--envs]}}` - Attiva un ambiente: @@ -22,7 +22,7 @@ - Elimina un ambiente rimuovendo anche tutti i pacchetti: -`conda remove --name {{nome_ambiente}} --all` +`conda remove {{[-n|--name]}} {{nome_ambiente}} --all` - Installa pacchetti nell'ambiente corrente: @@ -34,4 +34,4 @@ - Elimina pacchetti inutilizzati e cache: -`conda clean --all` +`conda clean {{[-a|--all]}}` diff --git a/pages.it/common/hello.md b/pages.it/common/hello.md index 35cb032b52..ea2f2e5a55 100644 --- a/pages.it/common/hello.md +++ b/pages.it/common/hello.md @@ -1,7 +1,7 @@ # hello > Stampa a schermo "Hello, world!", "hello, world" oppure del testo personalizzabile. -> Maggiori informazioni: . +> Maggiori informazioni: . - Stampa a schermo "Hello, world!": @@ -9,8 +9,8 @@ - Stampa a schermo "hello, world", nel modo tradizionale: -`hello --traditional` +`hello {{[-t|--traditional]}}` - Stampa a schermo un messaggio: -`hello --greeting="{{messaggio}}"` +`hello {{[-g|--greeting]}} "{{messaggio}}"` diff --git a/pages.ja/common/go.md b/pages.ja/common/go.md index 48569d2d28..b9ad10392a 100644 --- a/pages.ja/common/go.md +++ b/pages.ja/common/go.md @@ -2,7 +2,7 @@ > Go のソースコードを管理します。 > `build` のようないくつかのサブコマンドには、使用方法についての独自のドキュメントがあります。 -> もっと詳しく: 。 +> もっと詳しく: 。 - インポートパスで指定されたパッケージを、ダウンロードしてインストール: diff --git a/pages.ko/common/binwalk.md b/pages.ko/common/binwalk.md index f3f2aef7c4..ab6da8fea9 100644 --- a/pages.ko/common/binwalk.md +++ b/pages.ko/common/binwalk.md @@ -9,20 +9,20 @@ - 출력 디렉터리를 지정하여 바이너리에서 파일을 추출: -`binwalk --extract --directory {{출력_디렉토리}} {{경로/대상/바이너리}}` +`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{출력_디렉토리}} {{경로/대상/바이너리}}` - 재귀 깊이를 2로 제한하는 바이너리에서 파일을 재귀적으로 추출: -`binwalk --extract --matryoshka --depth {{2}} {{경로/대상/바이너리}}` +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{경로/대상/바이너리}}` - 지정된 파일 서명을 사용하여 바이너리에서 파일을 추출: -`binwalk --dd '{{png image:png}}' {{경로/대상/바이너리}}` +`binwalk {{[-D|--dd]}} '{{png image:png}}' {{경로/대상/바이너리}}` - 바이너리의 엔트로피를 분석하여, 바이너리와 동일한 이름과 `.png` 확장자를 추가하여 플롯을 저장: -`binwalk --entropy --save {{경로/대상/바이너리}}` +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{경로/대상/바이너리}}` - 엔트로피, 서명 및 opcode 분석을 단일 명령으로 결합: -`binwalk --entropy --signature --opcodes {{경로/대상/바이너리}}` +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{경로/대상/바이너리}}` diff --git a/pages.ko/common/bzip3.md b/pages.ko/common/bzip3.md index 3efbca3510..04541183a6 100644 --- a/pages.ko/common/bzip3.md +++ b/pages.ko/common/bzip3.md @@ -1,7 +1,7 @@ # bzip3 > 효율적인 파일 압축 도구. -> 더 많은 정보: . +> 더 많은 정보: . - 파일 압축: @@ -9,24 +9,24 @@ - 파일 압축 해제([d]ecompress): -`bzip3 -d {{경로/대상/압축된_파일.bz3}}` +`bzip3 {{[-d|--decode]}} {{경로/대상/압축된_파일.bz3}}` - 파일을 `stdout`([c])으로 압축 해제: -`bzip3 -dc {{경로/대상/압축된_파일.bz3}}` +`bzip3 {{[-dc|--decode --stdout]}} {{경로/대상/압축된_파일.bz3}}` - 아카이브 파일 내 각 파일의 무결성을 테스트: -`bzip3 --test {{경로/대상/압축된_파일.bz3}}` +`bzip3 {{[-t|--test]}} {{경로/대상/압축된_파일.bz3}}` - 자세한 정보로 처리된 각 파일의 압축 비율을 표시: -`bzip3 --verbose {{경로/대상/압축된_파일들.bz3}}` +`bzip3 {{[-v|--verbose]}} {{경로/대상/압축된_파일들.bz3}}` - 기존 파일을 덮어쓰면서 압축을 해제: -`bzip3 -d --force {{경로/대상/압축된_파일.bz3}}` +`bzip3 {{[-d|--decode]}} {{[-f--force]}} {{경로/대상/압축된_파일.bz3}}` - 도움말 표시: -`bzip3 -h` +`bzip3 {{[-h|--help]}}` diff --git a/pages.ko/common/conda.md b/pages.ko/common/conda.md index 64db828cd0..ab65142798 100644 --- a/pages.ko/common/conda.md +++ b/pages.ko/common/conda.md @@ -1,15 +1,15 @@ # conda > 프로그래밍 언어에 대한 패키지, 의존성 및 환경 관리. -> 더 많은 정보: . +> 더 많은 정보: . - 새로운 환경을 생성합니다, 이름이 주어진 패키지로 설치합니다: -`conda create --name {{환경_이름}} {{python=2.7 matplotlib}}` +`conda create {{[-n|--name]}} {{환경_이름}} {{python=3.9 matplotlib}}` - 모든 환경의 리스트를 보여줍니다: -`conda info --envs` +`conda info {{[-e|--envs]}}` - 환경을 불러오거나: @@ -21,7 +21,7 @@ - 모든 환경을 제거합니다 (모든 패키지 제거): -`conda remove --name {{환경_이름}} --all` +`conda remove {{[-n|--name]}} {{환경_이름}} --all` - 현재 환경의 패키지를 설치합니다: @@ -33,4 +33,4 @@ - 사용하지 않는 패키지나 캐시를 제거합니다: -`conda clean --all` +`conda clean {{[-a|--all]}}` diff --git a/pages.ko/common/crane.md b/pages.ko/common/crane.md index 90e2e48aa1..985ade9c39 100644 --- a/pages.ko/common/crane.md +++ b/pages.ko/common/crane.md @@ -18,7 +18,7 @@ - os/arch{{/variant}}{{:osversion}} 형식으로 플랫폼을 지정 (e.g. linux/amd64). (기본값 모두): -`crane --platform {{플랫폼}} {{하위명령어}}` +`crane --platform {{플랫폼}} {{하위명령어}}` - 하위 명령에 대한 디버그 로그 활성화: diff --git a/pages.ko/common/dog.md b/pages.ko/common/dog.md index 4593e69284..3b2cb1db30 100644 --- a/pages.ko/common/dog.md +++ b/pages.ko/common/dog.md @@ -2,7 +2,7 @@ > DNS 조회 유틸리티. > 다채로운 출력을 제공하고, DNS-over-TLS 및 DNS-over-HTTPS 프로토콜을 지원하며, JSON을 내보낼 수 있음. -> 더 많은 정보: . +> 더 많은 정보: . - 호스트 이름과 연결된 IP를 조회 (A 레코드): @@ -18,12 +18,12 @@ - UDP가 아닌 TCP를 통한 쿼리: -`dog {{example.com}} MX @{{1.1.1.1}} --tcp` +`dog {{example.com}} MX @{{1.1.1.1}} {{[-T|--tcp]}}` - 명시적 인수를 사용하여 TCP를 통해 특정 도메인 이름과 연결된 MX 레코드 유형을 쿼리: -`dog --query {{example.com}} --type MX --nameserver {{1.1.1.1}} --tcp` +`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}} --https @{{https://cloudflare-dns.com/dns-query}}` +`dog {{example.com}} {{[-H|--https]}} @{{https://cloudflare-dns.com/dns-query}}` diff --git a/pages.ko/common/go-bug.md b/pages.ko/common/go-bug.md index 8b8df82538..07eb86f46e 100644 --- a/pages.ko/common/go-bug.md +++ b/pages.ko/common/go-bug.md @@ -1,7 +1,7 @@ # go bug > 버그 보고. -> 더 많은 정보: . +> 더 많은 정보: . - 버그 보고를 시작하기 위해 웹 페이지 열기: diff --git a/pages.ko/common/go-build.md b/pages.ko/common/go-build.md index 83fc52f8e2..3ac9c0137e 100644 --- a/pages.ko/common/go-build.md +++ b/pages.ko/common/go-build.md @@ -1,7 +1,7 @@ # go build > Go 소스 컴파일. -> 더 많은 정보: . +> 더 많은 정보: . - 'package main' 파일 컴파일 (출력은 확장자가 없는 파일 이름): diff --git a/pages.ko/common/go-clean.md b/pages.ko/common/go-clean.md index 5f674ceeb0..201c7afd0b 100644 --- a/pages.ko/common/go-clean.md +++ b/pages.ko/common/go-clean.md @@ -1,7 +1,7 @@ # go clean > 오브젝트 파일과 캐시 파일 제거. -> 더 많은 정보: . +> 더 많은 정보: . - 실제로 제거하지 않고 제거 명령 출력: diff --git a/pages.ko/common/go-doc.md b/pages.ko/common/go-doc.md index 81692a0112..86796650ee 100644 --- a/pages.ko/common/go-doc.md +++ b/pages.ko/common/go-doc.md @@ -1,7 +1,7 @@ # go doc > 패키지나 심볼에 대한 문서 보기. -> 더 많은 정보: . +> 더 많은 정보: . - 현재 패키지에 대한 문서 보기: diff --git a/pages.ko/common/go-env.md b/pages.ko/common/go-env.md index f33ccf0770..dc68f668bd 100644 --- a/pages.ko/common/go-env.md +++ b/pages.ko/common/go-env.md @@ -1,7 +1,7 @@ # go env > Go 툴체인이 사용하는 환경 변수를 관리합니다. -> 더 많은 정보: . +> 더 많은 정보: . - 모든 환경 변수 표시: diff --git a/pages.ko/common/go-fix.md b/pages.ko/common/go-fix.md index 6fc187f1c6..279de16867 100644 --- a/pages.ko/common/go-fix.md +++ b/pages.ko/common/go-fix.md @@ -1,7 +1,7 @@ # go fix > 패키지를 새로운 API를 사용하도록 업데이트. -> 더 많은 정보: . +> 더 많은 정보: . - 패키지를 새로운 API를 사용하도록 업데이트: diff --git a/pages.ko/common/go-generate.md b/pages.ko/common/go-generate.md index f3ae91a2fa..a2228b0168 100644 --- a/pages.ko/common/go-generate.md +++ b/pages.ko/common/go-generate.md @@ -1,7 +1,7 @@ # go generate > 소스 파일 내에서 명령을 실행하여 Go 파일 생성. -> 더 많은 정보: . +> 더 많은 정보: . - 소스 파일 내에서 명령을 실행하여 Go 파일 생성: diff --git a/pages.ko/common/go-list.md b/pages.ko/common/go-list.md index 7ff5684a8f..7359a6776b 100644 --- a/pages.ko/common/go-list.md +++ b/pages.ko/common/go-list.md @@ -1,7 +1,7 @@ # go list > 패키지 또는 모듈 나열. -> 더 많은 정보: . +> 더 많은 정보: . - 패키지 나열: diff --git a/pages.ko/common/go-mod.md b/pages.ko/common/go-mod.md index 49203b7cb9..7088c20f35 100644 --- a/pages.ko/common/go-mod.md +++ b/pages.ko/common/go-mod.md @@ -1,7 +1,7 @@ # go mod > 모듈 유지 관리. -> 더 많은 정보: . +> 더 많은 정보: . - 현재 디렉터리에 새 모듈 초기화: diff --git a/pages.ko/common/go-version.md b/pages.ko/common/go-version.md index c0fee9626b..55e520c3f9 100644 --- a/pages.ko/common/go-version.md +++ b/pages.ko/common/go-version.md @@ -1,7 +1,7 @@ # go version > Go 버전을 표시. -> 더 많은 정보: . +> 더 많은 정보: . - 버전 표시: diff --git a/pages.ko/common/go.md b/pages.ko/common/go.md index 53f095f996..c8361984fb 100644 --- a/pages.ko/common/go.md +++ b/pages.ko/common/go.md @@ -2,7 +2,7 @@ > Go 소스 코드를 관리. > `build`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다. -> 더 많은 정보: . +> 더 많은 정보: . - 패키지 다운로드 및 설치 (import 경로로 지정): diff --git a/pages.ko/common/gofmt.md b/pages.ko/common/gofmt.md index 1f908992ba..e68fe16bcf 100644 --- a/pages.ko/common/gofmt.md +++ b/pages.ko/common/gofmt.md @@ -1,7 +1,7 @@ # gofmt > Go 소스 코드를 포맷합니다. -> 더 많은 정보: . +> 더 많은 정보: . - 파일을 포맷하고 결과를 콘솔에 표시: diff --git a/pages.ko/common/hello.md b/pages.ko/common/hello.md index e935969285..7f7300b34e 100644 --- a/pages.ko/common/hello.md +++ b/pages.ko/common/hello.md @@ -1,7 +1,7 @@ # hello > "Hello, world!", "hello, world" 또는 사용자 정의 가능한 텍스트를 출력. -> 더 많은 정보: . +> 더 많은 정보: . - "Hello, world!" 출력: @@ -9,8 +9,8 @@ - 전통적인 유형인 "hello, world"를 출력: -`hello --traditional` +`hello {{[-t|--traditional]}}` - 문자 메시지 출력: -`hello --greeting="{{인사말_텍스트}}"` +`hello {{[-g|--greeting]}} "{{인사말_텍스트}}"` diff --git a/pages.ko/common/hn.md b/pages.ko/common/hn.md index aebb0ccd41..b8164d495c 100644 --- a/pages.ko/common/hn.md +++ b/pages.ko/common/hn.md @@ -1,7 +1,7 @@ # hn > Hacker News용 커멘드 라인 인터페이스. -> 더 많은 정보: . +> 더 많은 정보: . - Hacker News에서 기사 보기: @@ -9,11 +9,11 @@ - Hacker News에서 _숫자_ 만큼의 기사 보기: -`hn --limit {{숫자}}` +`hn {{[-l|--limit]}} {{숫자}}` - Hacker News에서 기사를 보고, 링크를 선택한 후 목록을 열어두기: -`hn --keep-open` +`hn {{[-k|--keep-open]}}` - 제출 날짜별로 정렬된 Hacker News의 기사 보기: diff --git a/pages.ko/common/jupyter.md b/pages.ko/common/jupyter.md index 913fc5b9ab..352f665fa3 100644 --- a/pages.ko/common/jupyter.md +++ b/pages.ko/common/jupyter.md @@ -2,7 +2,7 @@ > 코드, 시각화 및 노트를 포함한 문서를 생성하고 공유할 수 있는 웹 애플리케이션. > 주로 데이터 분석, 과학 컴퓨팅 및 머신 러닝에 사용됩니다. -> 더 많은 정보: . +> 더 많은 정보: . - 현재 디렉토리에서 Jupyter 노트북 서버 시작: @@ -18,7 +18,7 @@ - 특정 포트에서 서버 시작: -`jupyter notebook --port={{포트}}` +`jupyter notebook --port {{포트}}` - 현재 실행 중인 노트북 서버 나열: diff --git a/pages.ko/common/ldapsearch.md b/pages.ko/common/ldapsearch.md index c226b62c58..92e9cda193 100644 --- a/pages.ko/common/ldapsearch.md +++ b/pages.ko/common/ldapsearch.md @@ -5,32 +5,32 @@ - 주어진 그룹의 멤버인 모든 항목을 LDAP 서버에서 쿼리하고 객체의 displayName 값을 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' displayName` - 줄바꿈 없는 비밀번호 파일을 사용하여 주어진 그룹의 멤버인 모든 항목을 LDAP 서버에서 쿼리하고 객체의 displayName 값을 반환: -`ldapsearch -D '{{관리자_DN}}' -y '{{비밀번호_파일}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-u|--keyStorePasswordFile]}} '{{비밀번호_파일}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' displayName` - 주어진 필터에 맞는 5개의 항목 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' -z 5 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 5 displayName` - 응답을 최대 7초 동안 대기: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '{{memberOf=group1}}' -l 7 displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 7 displayName` - 필터 반전: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} -b {{기본_ou}} '(!(memberOf={{group1}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} {{[-b|--baseDN]}} {{기본_ou}} '(!(memberOf={{group1}}))' displayName` - 여러 그룹에 속한 모든 항목을 반환하고 각 항목의 display name 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' "displayName"` - 지정된 그룹 중 적어도 1개에 속한 모든 항목 반환: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` +`ldapsearch {{[-D|--bindDN]}} '{{관리자_DN}}' {{[-w|--bindPassword]}} '{{비밀번호}}' {{[-h|--hostname]}} {{ldap_호스트}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName` - 여러 부울 논리 필터 결합: -`ldapsearch -D '{{관리자_DN}}' -w '{{비밀번호}}' -h {{ldap_호스트}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{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/perl.md b/pages.ko/common/perl.md index 3ff7cb7f5f..e70d9585b7 100644 --- a/pages.ko/common/perl.md +++ b/pages.ko/common/perl.md @@ -9,7 +9,7 @@ - 공백을 무시하고 정규식을 사용하여 첫 번째 매치 그룹 출력: -`perl -n -E 'say $1 if m/{{이전}} ( {{정규식_그룹}} ) {{이후}}/x'` +`perl -n -E 'say $1 if m/{{이전}} ( {{정규식_그룹}} ) {{이후}}/x'` - 백업과 함께 제자리에서 모든 regex 발생을 대체: diff --git a/pages.ko/linux/nl.md b/pages.ko/linux/nl.md index 9a5c4025b8..93e93ba147 100644 --- a/pages.ko/linux/nl.md +++ b/pages.ko/linux/nl.md @@ -9,7 +9,7 @@ - `stdin`에서 읽기: -`{{명령어}} | nl -` +`{{명령어}} | nl` - 빈 줄을 포함한 모든 본문 줄에 번호를 매기거나 본문 줄에 번호를 매기지 않기: diff --git a/pages.ko/osx/bc.md b/pages.ko/osx/bc.md index 17e77f926f..60ab7adffa 100644 --- a/pages.ko/osx/bc.md +++ b/pages.ko/osx/bc.md @@ -14,7 +14,7 @@ - 수식 계산: -`bc --expression='{{5 / 3}}'` +`bc --expression '{{5 / 3}}'` - 스크립트 실행: @@ -22,8 +22,8 @@ - 지정된 스케일로 수식 계산: -`bc --expression='scale = {{10}}; {{5 / 3}}'` +`bc --expression '{{scale = 10; 5 / 3}}'` - `mathlib`을 사용하여 사인/코사인/아크탄젠트/자연 로그/지수 함수 계산: -`bc --mathlib --expression='{{s|c|a|l|e}}({{1}})'` +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.ko/osx/mktemp.md b/pages.ko/osx/mktemp.md index 172964de70..395b2443ed 100644 --- a/pages.ko/osx/mktemp.md +++ b/pages.ko/osx/mktemp.md @@ -9,7 +9,7 @@ - 사용자 정의 디렉터리 사용 (`getconf DARWIN_USER_TEMP_DIR`의 출력 또는 `/tmp`가 기본값): -`mktemp --tmpdir={{/경로/대상/임시_폴더}}` +`mktemp --tmpdir {{/경로/대상/임시_폴더}}` - 사용자 정의 경로 템플릿 사용 (`X`는 무작위 영숫자 문자로 대체됨): diff --git a/pages.ko/osx/say.md b/pages.ko/osx/say.md index 8a629f6804..da6602c8a1 100644 --- a/pages.ko/osx/say.md +++ b/pages.ko/osx/say.md @@ -9,20 +9,20 @@ - [f]파일을 소리내어 읽기: -`say --input-file={{파일명.txt}}` +`say --input-file {{파일명.txt}}` - 사용자 지정 음성과 속도로 문구 말하기: -`say --voice={{음성}} --rate={{분당_단어_수}} "{{미안해 데이브, 그렇게 할 수 없어.}}"` +`say --voice {{음성}} --rate {{분당_단어_수}} "{{미안해 데이브, 그렇게 할 수 없어.}}"` - 사용 가능한 음성 목록 나열 (다양한 언어로 말하는 음성): -`say --voice="?"` +`say --voice "?"` - 폴란드어로 말하기: -`say --voice={{Zosia}} "{{Litwo, ojczyzno moja!}}"` +`say --voice {{Zosia}} "{{Litwo, ojczyzno moja!}}"` - 음성 텍스트의 오디오 파일 생성: -`say --output-file={{파일명.aiff}} "{{Here's to the Crazy Ones.}}"` +`say --output-file {{파일명.aiff}} "{{Here's to the Crazy Ones.}}"` diff --git a/pages.ko/osx/shuf.md b/pages.ko/osx/shuf.md index ce8b44bf2b..5cd03ec618 100644 --- a/pages.ko/osx/shuf.md +++ b/pages.ko/osx/shuf.md @@ -13,7 +13,7 @@ - 출력을 다른 파일에 쓰기: -`shuf {{경로/대상/입력_파일}} --output={{경로/대상/출력_파일}}` +`shuf {{경로/대상/입력_파일}} --output {{경로/대상/출력_파일}}` - 1에서 10까지의 범위에서 무작위 숫자 생성: diff --git a/pages.ko/windows/netsh-interface-portproxy.md b/pages.ko/windows/netsh-interface-portproxy.md index b5cfcce37a..b83d1ea5e3 100644 --- a/pages.ko/windows/netsh-interface-portproxy.md +++ b/pages.ko/windows/netsh-interface-portproxy.md @@ -9,7 +9,7 @@ - IPv4 포트 전달 설정 (관리자 권한 콘솔에서 실행): -`netsh interface portproxy add v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}} connectaddress={{10.0.0.1}} connectport={{80}}` +`netsh interface portproxy add v4tov4 listenaddress={{192.168.0.1}} listenport={{8080}} connectaddress={{10.0.0.1}} connectport={{80}}` - IPv4 포트 전달 삭제 (관리자 권한 콘솔에서 실행): diff --git a/pages.ml/common/chmod.md b/pages.ml/common/chmod.md index 01eda27ca8..6c56449655 100644 --- a/pages.ml/common/chmod.md +++ b/pages.ml/common/chmod.md @@ -27,7 +27,7 @@ `chmod o= {{ഫയലിലേക്കുള്ള/പാത}}` -- ആവർത്തനാനുമതികൾ മാറ്റുക [g]roupൽ [o]thers മറ്റുള്ളവർക്കും [w]rite റൈറ്റ് ചെയ്യാനുള്ള കഴിവ് നൽകുന്നു: +- ആവർത്തനാനുമതികൾ മാറ്റുക [g]roupൽ [o]thers മറ്റുള്ളവർക്കും [w]rite റൈറ്റ് ചെയ്യാനുള്ള കഴിവ് നൽകുന്നു: `chmod {{[-R|--recursive]}} g+w,o+w {{ഡയറക്ടറിയിലേക്കുള്ള/പാത}}` diff --git a/pages.ml/linux/cmus.md b/pages.ml/linux/cmus.md index b6fafa8615..0d71d22460 100644 --- a/pages.ml/linux/cmus.md +++ b/pages.ml/linux/cmus.md @@ -1,6 +1,6 @@ # cmus -> കമാൻഡ് ലൈനിൽ പ്രവർത്തിക്കുന്ന മ്യൂസിക് പ്ലെയർ. +> കമാൻഡ് ലൈനിൽ പ്രവർത്തിക്കുന്ന മ്യൂസിക് പ്ലെയർ. > നാവിഗേറ്റ് ചെയ്യാൻ `` ഉപയോഗിക്കുക. സെലക്ട് ചെയ്യാൻ `` ഉം, പല വ്യത്യസ്ത വ്യൂസ് ലഭിക്കാനായി `<1>`-`<8>` അക്കങ്ങളും പ്രയോജനപ്പെടുത്തുക. > കൂടുതൽ വിവരങ്ങൾ: . diff --git a/pages.nl/common/$.md b/pages.nl/common/$.md index 9c77b44dc9..040e92aca1 100644 --- a/pages.nl/common/$.md +++ b/pages.nl/common/$.md @@ -5,7 +5,11 @@ - Toon een variabele: -`echo ${{VARIABLE}}` +`echo ${{VARIABELE}}` + +- Voer een variabele uit als een commando: + +`${{VARIABELE}}` - Toon de exitstatus van het vorige commando: diff --git a/pages.nl/common/^.md b/pages.nl/common/^.md index f0763d9f09..a5ab33f0fc 100644 --- a/pages.nl/common/^.md +++ b/pages.nl/common/^.md @@ -19,3 +19,7 @@ - Vervang alle `string1`: `^{{string1}}^{{string2}}^:&` + +- Toon de vervangende opdracht zonder het uit te voeren: + +`^{{string1}}^{{string2}}^:p` diff --git a/pages.nl/common/alias.md b/pages.nl/common/alias.md index ead718eb41..23017f50fa 100644 --- a/pages.nl/common/alias.md +++ b/pages.nl/common/alias.md @@ -2,7 +2,7 @@ > Maakt 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`. -> Meer informatie: . +> Meer informatie: . - Overzicht alle aliases: diff --git a/pages.nl/common/env.md b/pages.nl/common/env.md index 7a5c5f18b4..4e5d426a9e 100644 --- a/pages.nl/common/env.md +++ b/pages.nl/common/env.md @@ -26,3 +26,7 @@ - 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/grep.md b/pages.nl/common/grep.md index 2b3f2afba9..1f9c338426 100644 --- a/pages.nl/common/grep.md +++ b/pages.nl/common/grep.md @@ -13,11 +13,11 @@ - Zoek naar een patroon in alle bestanden in een map, recursief, toon regelnummers van overeenkomsten, negeer binaire bestanden: -`grep {{[-r|--recursive]}} {{[-n|--line-number]}} {{[-I|--binary-files=without-match]}} "{{zoekpatroon}}" {{pad/naar/map}}` +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{zoekpatroon}}" {{pad/naar/map}}` - Gebruik uitgebreide reguliere expressies (ondersteunt `?`, `+`, `{}`, `()` en `|`), in hoofdletterongevoelige modus: -`grep {{[-E|--extended-regexp]}} {{[-i|--ignore-case]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` +`grep {{[-Ei|--extended-regexp --ignore-case]}} "{{zoekpatroon}}" {{pad/naar/bestand}}` - Print 3 regels context rondom, voor of na elke overeenkomst: @@ -25,7 +25,7 @@ - Print bestandsnaam en regelnummers voor elke overeenkomst met kleuruitvoer: -`grep {{[-H|--with-filename]}} {{[-n|--line-number]}} --color=always "{{zoekpatroon}}" {{pad/naar/bestand}}` +`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: diff --git a/pages.nl/common/helix.md b/pages.nl/common/helix.md index 07a131c175..5ca2f1f205 100644 --- a/pages.nl/common/helix.md +++ b/pages.nl/common/helix.md @@ -12,7 +12,7 @@ `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): +- Toon de tutorial om Helix te leren (of open het binnen Helix door op `` te drukken en `<:>tutor` te typen): `helix --tutor` diff --git a/pages.nl/common/mplayer.md b/pages.nl/common/mplayer.md new file mode 100644 index 0000000000..4815d61325 --- /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 0000000000..56c5928081 --- /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/nano.md b/pages.nl/common/nano.md index 3dfebdf1dc..98d486da73 100644 --- a/pages.nl/common/nano.md +++ b/pages.nl/common/nano.md @@ -1,20 +1,17 @@ # nano -> Command-line tekst bewerker. Een verbeterde `Pico` kloon. -> Meer informatie: . - -- Start de tekst bewerker: - -`nano` - -- Start de tekst bewerker zonder gebruik te maken van configuratiebestanden: - -`nano {{[-I|--ignorercfiles]}}` +> 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}}` @@ -31,6 +28,10 @@ `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/test.md b/pages.nl/common/test.md index 51be4b65a9..f943bf8947 100644 --- a/pages.nl/common/test.md +++ b/pages.nl/common/test.md @@ -23,3 +23,7 @@ - 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/touch.md b/pages.nl/common/touch.md index 0ac5a8611f..db1aeb1c00 100644 --- a/pages.nl/common/touch.md +++ b/pages.nl/common/touch.md @@ -21,4 +21,4 @@ - Stel de timestamp in door een string te parsen: -`touch {{[-d|--date]}} "{{last year|5 hours|next thursday|nov 14|...}} {{pad/naar/bestand}}` +`touch {{[-d|--date]}} "{{last year|5 hours|next thursday|nov 14|...}}" {{pad/naar/bestand}}` diff --git a/pages.nl/common/vlc.md b/pages.nl/common/vlc.md new file mode 100644 index 0000000000..a06d930b3c --- /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/xargs.md b/pages.nl/common/xargs.md index eeffa9c07d..e61c8648d3 100644 --- a/pages.nl/common/xargs.md +++ b/pages.nl/common/xargs.md @@ -27,3 +27,7 @@ - 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/linux/aa-complain.md b/pages.nl/linux/aa-complain.md index 98a02ff1f0..3f635a60d0 100644 --- a/pages.nl/linux/aa-complain.md +++ b/pages.nl/linux/aa-complain.md @@ -10,4 +10,4 @@ - Stel profielen in op klaagmodus: -`sudo aa-complain --dir {{pad/naar/profielen}}` +`sudo aa-complain {{[-d|--dir]}} {{pad/naar/profielen}}` diff --git a/pages.nl/linux/aa-enforce.md b/pages.nl/linux/aa-enforce.md index e33db439de..9ef76fbe4b 100644 --- a/pages.nl/linux/aa-enforce.md +++ b/pages.nl/linux/aa-enforce.md @@ -6,7 +6,7 @@ - Schakel een profiel in: -`sudo aa-enforce --dir {{pad/naar/profiel}}` +`sudo aa-enforce {{[-d|--dir]}} {{pad/naar/profiel}}` - Schakel profielen in: diff --git a/pages.nl/linux/apt.md b/pages.nl/linux/apt.md index 0549361c3b..0d9c0a98fa 100644 --- a/pages.nl/linux/apt.md +++ b/pages.nl/linux/apt.md @@ -1,7 +1,7 @@ # apt -> Hulpprogramma voor pakketbeheer voor op Debian gebaseerde distributies. -> Aanbevolen vervanging voor `apt-get` bij interactief gebruik in Ubuntu versie 16.04 en later. +> 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: . @@ -9,30 +9,30 @@ `sudo apt update` -- Zoek naar een specifiek pakket (gebruik `apt search --name-only pakket` om alleen op pakketnaam te zoeken): +- Zoek naar pakketten op naam of beschrijving: `apt search {{pakket}}` -- Toon informatie voor een specifiek pakket: +- Zoek naar pakketten op naam (ondersteund wildcards zoals `*`): -`apt show {{pakket1 pakket2 ...}}` +`apt list {{pakket}}` -- Installeer specifieke pakketten of werk ze bij naar de nieuwste beschikbare versies: +- Toon gedetailleerde informatie voor een specifiek pakket: -`sudo apt install {{pakket1 pakket2 ...}}` +`apt show {{pakket}}` -- Verwijder specifieke pakketten (gebruik in plaats daarvan purge om ook hun configuratiebestanden te verwijderen): +- Installeer specifieke pakketten of werk ze bij naar de nieuwste versies: -`sudo apt remove {{pakket1 pakket2 ...}}` +`sudo apt install {{pakket}}` -- Upgrade alle geïnstalleerde pakketten naar hun nieuwste beschikbare versies: +- 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 pakketten: - -`apt list` - - Toon alle geïnstalleerde pakketten: `apt list {{[-i|--installed]}}` diff --git a/pages.nl/linux/bleachbit.md b/pages.nl/linux/bleachbit.md index 7a34376d7a..921d13d4dc 100644 --- a/pages.nl/linux/bleachbit.md +++ b/pages.nl/linux/bleachbit.md @@ -9,16 +9,16 @@ - Versnipper een bestand: -`bleachbit --shred {{pad/naar/bestand}}` +`bleachbit {{[-s|--shred]}} {{pad/naar/bestand}}` - Toon beschikbare schoonmaakopties: -`bleachbit --list-cleaners` +`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 --preview {{--preset|cleaner1.option1 cleaner2.* ...}}` +`bleachbit {{[-p|--preview]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` - Voer de schoonmaakoperatie uit en verwijder bestanden: -`bleachbit --clean {{--preset|cleaner1.option1 cleaner2.* ...}}` +`bleachbit {{[-c|--clean]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` diff --git a/pages.nl/linux/bspc.md b/pages.nl/linux/bspc.md index 623cc3f7e0..3df6c0e217 100644 --- a/pages.nl/linux/bspc.md +++ b/pages.nl/linux/bspc.md @@ -1,27 +1,28 @@ # bspc > Een tool om `bspwm` te besturen. +> Bekijk ook: `bspwm`. > Meer informatie: . - Definieer twee virtuele bureaubladen: -`bspc monitor --reset-desktops {{1}} {{2}}` +`bspc monitor {{[-d|--reset-desktops]}} {{1}} {{2}}` - Focus op het gegeven bureaublad: -`bspc desktop --focus {{nummer}}` +`bspc desktop {{[-f|--focus]}} {{nummer}}` - Sluit de vensters die afgetakt zijn van de geselecteerde node: -`bspc node --close` +`bspc node {{[-c|--close]}}` - Stuur de geselecteerde node naar het opgegeven bureaublad: -`bspc node --to-desktop {{nummer}}` +`bspc node {{[-d|--to-desktop]}} {{nummer}}` - Schakel de modus volledig scherm in voor de geselecteerde node: -`bspc node --state ~fullscreen` +`bspc node {{[-t|--state]}} ~fullscreen` - Zet de waarde van een specifieke instelling: diff --git a/pages.nl/linux/nl.md b/pages.nl/linux/nl.md index c93c4977ed..7a8c8f77cd 100644 --- a/pages.nl/linux/nl.md +++ b/pages.nl/linux/nl.md @@ -9,7 +9,7 @@ - Lees van `stdin`: -`{{commando}} | nl -` +`{{commando}} | nl` - Nummer [a]lle [b]ody regels inclusief lege regels of [n]ummer geen [b]ody regels: diff --git a/pages.nl/linux/resolvectl.md b/pages.nl/linux/resolvectl.md index 6a03a361de..5c1060097f 100644 --- a/pages.nl/linux/resolvectl.md +++ b/pages.nl/linux/resolvectl.md @@ -26,7 +26,7 @@ - Verkrijg een MX record van een domein: -`resolvectl --legend={{no}} --type={{MX}} query {{domein}}` +`resolvectl --legend {{no}} {{[-t|--type]}} {{MX}} query {{domein}}` - Resolve een SRV record, bijvoorbeeld _xmpp-server._tcp gmail.com: diff --git a/pages.nl/linux/sed.md b/pages.nl/linux/sed.md index 2cb941f294..ec85e143a0 100644 --- a/pages.nl/linux/sed.md +++ b/pages.nl/linux/sed.md @@ -12,9 +12,9 @@ `{{commando}} | sed {{[-E|--regexp-extended]}} 's/(apple)/\U\1/g'` -- Vervang alle `apple` (basis regex) met `mango` (basis regex) in een specifiek bestand en overschrijf het originele bestand: +- 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]}} 's/apple/mango/g' {{pad/naar/bestand}}` +`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`: @@ -24,10 +24,14 @@ `{{commando}} | sed {{[-n|--quiet]}} '1p'` -- Verwijder de eerste regel van een bestand: +- 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]}} 1d {{pad/naar/bestand}}` +`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/osx/bc.md b/pages.nl/osx/bc.md index 54e9ce7212..d037edae31 100644 --- a/pages.nl/osx/bc.md +++ b/pages.nl/osx/bc.md @@ -14,7 +14,7 @@ - Bereken een uitdrukking: -`bc --expression='{{5 / 3}}'` +`bc --expression '{{5 / 3}}'` - Voer een script uit: @@ -22,8 +22,8 @@ - Bereken een uitdrukking met de gespecificeerde schaal: -`bc --expression='scale = {{10}}; {{5 / 3}}'` +`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}})'` +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.nl/osx/caffeinate.md b/pages.nl/osx/caffeinate.md index 0885b63ca9..a847bfb3f6 100644 --- a/pages.nl/osx/caffeinate.md +++ b/pages.nl/osx/caffeinate.md @@ -3,22 +3,22 @@ > Voorkom dat macOS in slaapstand gaat. > Meer informatie: . -- Voorkom slaapstand voor 1 uur (3600 seconden): +- 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}}` -- Voorkom slaapstand totdat een commando is voltooid: +- Splits een proces, voer daarin "make" uit en voorkom dat het scherm in slaapstand gaat zolang dat proces actief is: -`caffeinate -s "{{commando}}"` +`caffeinate -i make` -- Voorkom slaapstand totdat een proces met de opgegeven PID is voltooid: +- Voorkom dat het scherm in slaapstand gaat totdat een proces met het opgegeven PID is voltooid: `caffeinate -w {{pid}}` -- Voorkom slaapstand (gebruik `` om te stoppen): - -`caffeinate -i` - - Voorkom dat de schijf in slaapstand gaat (gebruik `` om te stoppen): `caffeinate -m` diff --git a/pages.nl/osx/mktemp.md b/pages.nl/osx/mktemp.md index d6f4a6bb09..c6bc535526 100644 --- a/pages.nl/osx/mktemp.md +++ b/pages.nl/osx/mktemp.md @@ -9,7 +9,7 @@ - Gebruik een aangepaste map (standaard is de uitvoer van `getconf DARWIN_USER_TEMP_DIR`, of `/tmp`): -`mktemp --tmpdir={{/pad/naar/tempdir}}` +`mktemp --tmpdir {{/pad/naar/tempdir}}` - Gebruik een aangepast pad-sjabloon (`X`en worden vervangen door willekeurige alfanumerieke tekens): diff --git a/pages.nl/osx/shuf.md b/pages.nl/osx/shuf.md index 3836724501..43234e3c2e 100644 --- a/pages.nl/osx/shuf.md +++ b/pages.nl/osx/shuf.md @@ -13,7 +13,7 @@ - Schrijf de uitvoer naar een ander bestand: -`shuf {{pad/naar/invoer_bestand}} --output={{pad/naar/uitvoer_bestand}}` +`shuf {{pad/naar/invoer_bestand}} --output {{pad/naar/uitvoer_bestand}}` - Genereer willekeurige getallen in het bereik van 1 tot 10: diff --git a/pages.pl/osx/say.md b/pages.pl/osx/say.md index 07f1e469b7..37dfd39439 100644 --- a/pages.pl/osx/say.md +++ b/pages.pl/osx/say.md @@ -9,20 +9,20 @@ - Przeczytaj z pliku: -`say --input-file={{ścieżka/do/pliku.txt}}` +`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ć.}}"` +`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="?"` +`say --voice "?"` - Powiedz coś po angielsku: -`say --voice={{Alex}} "{{Here's to the Crazy Ones.}}"` +`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!}}"` +`say --output-file {{ścieżka/do/pliku.aiff}} "{{Litwo, ojczyzno moja!}}"` diff --git a/pages.pt_BR/common/binwalk.md b/pages.pt_BR/common/binwalk.md index c38a16898c..907dcb4da6 100644 --- a/pages.pt_BR/common/binwalk.md +++ b/pages.pt_BR/common/binwalk.md @@ -9,20 +9,20 @@ - Extrai arquivos de um binário, especificando a saída do diretório: -`binwalk --extract --directory {{diretório_do_destino}} {{caminho/para/biná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 --extract --matryoshka --depth {{2}} {{caminho/para/binário}}` +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{caminho/para/binário}}` - Extrai arquivos de um binário com uma assinatura específica: -`binwalk --dd '{{png image:png}}' {{caminho/para/binário}}` +`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 --entropy --save {{caminho/para/binário}}` +`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 --entropy --signature --opcodes {{caminho/para/binário}}` +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{caminho/para/binário}}` diff --git a/pages.pt_BR/common/jupyter.md b/pages.pt_BR/common/jupyter.md index 821957e85d..e5202cc1e6 100644 --- a/pages.pt_BR/common/jupyter.md +++ b/pages.pt_BR/common/jupyter.md @@ -2,7 +2,7 @@ > 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: . +> Mais informações: . - Inicia um servidor de notebooks Jupyter no diretório atual: @@ -18,7 +18,7 @@ - Inicia um servidor em uma porta específica: -`jupyter notebook --port={{porta}}` +`jupyter notebook --port {{porta}}` - Lista de servidores de notebooks atualmente em funcionamento: diff --git a/pages.pt_BR/osx/bc.md b/pages.pt_BR/osx/bc.md index 43e3295019..a627ad7eef 100644 --- a/pages.pt_BR/osx/bc.md +++ b/pages.pt_BR/osx/bc.md @@ -14,7 +14,7 @@ - Calcula uma expressão: -`bc --expression='{{5 / 3}}'` +`bc --expression '{{5 / 3}}'` - Executa um script: @@ -22,8 +22,8 @@ - Calcula uma expressão com a escala especificada: -`bc --expression='scale = {{10}}; {{5 / 3}}'` +`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}})'` +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages.sv/common/go-bug.md b/pages.sv/common/go-bug.md index 45f307458b..c72b013171 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 5083a5a85e..06d11544c1 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.ta/common/brew.md b/pages.ta/common/brew.md index 5556673913..20fed220a9 100644 --- a/pages.ta/common/brew.md +++ b/pages.ta/common/brew.md @@ -11,7 +11,7 @@ `brew list` -- நிறுவப்பட்ட சூத்திரம் அல்லது கேஸ்க்கை மேம்படுத்தவும் (எதுவும் வழங்கப்படவில்லை என்றால், நிறுவப்பட்ட அனைத்து சூத்திரங்களும்/கேஸ்களும் மேம்படுத்தப்படும்): +- நிறுவப்பட்ட சூத்திரம் அல்லது கேஸ்க்கை மேம்படுத்தவும் (எதுவும் வழங்கப்படவில்லை என்றால், நிறுவப்பட்ட அனைத்து சூத்திரங்களும்/கேஸ்களும் மேம்படுத்தப்படும்): `brew upgrade {{சூத்திரம்}}` diff --git a/pages.ta/common/jekyll.md b/pages.ta/common/jekyll.md index cc12627a8f..2a615f8ebf 100644 --- a/pages.ta/common/jekyll.md +++ b/pages.ta/common/jekyll.md @@ -7,7 +7,7 @@ `jekyll serve` -- அதிகரிக்கும் மீளுருவாக்கத்தை இயக்கு: +- அதிகரிக்கும் மீளுருவாக்கத்தை இயக்கு: `jekyll serve --incremental` @@ -15,7 +15,7 @@ `jekyll serve --verbose` -- தற்போதைய கோப்பகத்தை `./_site`டிற்குள் உருவாக்கவும்: +- தற்போதைய கோப்பகத்தை `./_site`டிற்குள் உருவாக்கவும்: `jekyll build` diff --git a/pages.ta/linux/toolbox-rm.md b/pages.ta/linux/toolbox-rm.md index 48f4deec17..2cc4ff5c04 100644 --- a/pages.ta/linux/toolbox-rm.md +++ b/pages.ta/linux/toolbox-rm.md @@ -1,7 +1,7 @@ # toolbox rm > ஒன்று அல்லது அதற்கு மேற்பட்ட `toolbox` கொள்கலன்களை அகற்றவும். -> மேலும் பார்க்கவும்: `toolbox rmi`. +> மேலும் பார்க்கவும்: `toolbox rmi`. > மேலும் விவரத்திற்கு: . - கருவிப்பெட்டி கொள்கலனை அகற்றவும்: @@ -10,8 +10,8 @@ - அனைத்து `toolbox` கொள்கலனை அகற்றவும்: -`toolbox rm --all` +`toolbox rm {{[-a|--all]}}` - தற்போது செயலில் உள்ள `toolbox` கொள்கலனை அகற்றுமாறு கட்டாயப்படுத்தவும்: -`toolbox rm --force {{கொள்கலன்_பெயர்}}` +`toolbox rm {{[-f|--force]}} {{கொள்கலன்_பெயர்}}` diff --git a/pages.th/osx/aiac.md b/pages.th/osx/aiac.md index f7beef298e..5d6ce58fbc 100644 --- a/pages.th/osx/aiac.md +++ b/pages.th/osx/aiac.md @@ -1,6 +1,6 @@ # aiac -> ใช้ OpenAI ผลิตการกำหนดค่าของ IaC, เครื่องมือ , คิวรีสำหรับค้นหา และอื่นๆ. +> ใช้ OpenAI ผลิตการกำหนดค่าของ IaC, เครื่องมือ , คิวรีสำหรับค้นหา และอื่นๆ. > ข้อมูลเพิ่มเติม: - สร้าง Terraform สำหรับบัญชี Azure storage: diff --git a/pages.tr/common/go-bug.md b/pages.tr/common/go-bug.md index 0c0e248794..10b0b4a548 100644 --- a/pages.tr/common/go-bug.md +++ b/pages.tr/common/go-bug.md @@ -1,7 +1,7 @@ # go bug > Bug bildir. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Bug bildirisini başlatmak için bir website aç: diff --git a/pages.tr/common/go-build.md b/pages.tr/common/go-build.md index ecc6c83456..3e28a05541 100644 --- a/pages.tr/common/go-build.md +++ b/pages.tr/common/go-build.md @@ -1,7 +1,7 @@ # go build > Go kaynaklarını derle. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Bir 'package main' dosyasını derle (çıktı uzantısız bir dosya ismi olacak): diff --git a/pages.tr/common/go-clean.md b/pages.tr/common/go-clean.md index 5fc68e2df1..43e205feff 100644 --- a/pages.tr/common/go-clean.md +++ b/pages.tr/common/go-clean.md @@ -1,7 +1,7 @@ # go clean > Obje ve önbellek dosyalarını sil. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Hiçbir şeyi silmeden silme komutlarını yazdır: diff --git a/pages.tr/common/go-doc.md b/pages.tr/common/go-doc.md index 9dd4b89381..795188f219 100644 --- a/pages.tr/common/go-doc.md +++ b/pages.tr/common/go-doc.md @@ -1,7 +1,7 @@ # go doc > Bir paket veya sembolün dokümentasyonunu göster. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Mevcut paket için dokümentasyonu göster: diff --git a/pages.tr/common/go-env.md b/pages.tr/common/go-env.md index fd3d9452fc..247cbf3507 100644 --- a/pages.tr/common/go-env.md +++ b/pages.tr/common/go-env.md @@ -1,7 +1,7 @@ # go env > Go toolchain'in kullandığı ortam değişkenlerini yönet. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Tüm ortam değişkenlerini göster: diff --git a/pages.tr/common/go-fix.md b/pages.tr/common/go-fix.md index f8a3dc1897..709efc74cb 100644 --- a/pages.tr/common/go-fix.md +++ b/pages.tr/common/go-fix.md @@ -1,7 +1,7 @@ # go fix > Yeni API'ler kullanmak için paketleri güncelle. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Paketleri yeni API'ler kullanmak için güncelle: diff --git a/pages.tr/common/go-generate.md b/pages.tr/common/go-generate.md index 3a47cac03f..cd3d0cfca3 100644 --- a/pages.tr/common/go-generate.md +++ b/pages.tr/common/go-generate.md @@ -1,7 +1,7 @@ # go generate > Kaynak dosyaları içinde komut çalıştırarak Go dosyaları oluştur. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Kaynak dosyaları içinde komut çalıştırarak Go dosyaları oluştur: diff --git a/pages.tr/common/go-list.md b/pages.tr/common/go-list.md index b96e21818c..68d2a21551 100644 --- a/pages.tr/common/go-list.md +++ b/pages.tr/common/go-list.md @@ -1,7 +1,7 @@ # go list > Paket ve modülleri sırala. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Paketleri sırala: diff --git a/pages.tr/common/go-mod.md b/pages.tr/common/go-mod.md index 82dd557a90..de428ef113 100644 --- a/pages.tr/common/go-mod.md +++ b/pages.tr/common/go-mod.md @@ -1,7 +1,7 @@ # go mod > Modül yönetimi. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Mevcut dizinde yeni modül başlat: diff --git a/pages.tr/common/go-version.md b/pages.tr/common/go-version.md index 904b41407f..f38ac459cb 100644 --- a/pages.tr/common/go-version.md +++ b/pages.tr/common/go-version.md @@ -1,7 +1,7 @@ # go version > Go sürümünü yazdır. -> Daha fazla bilgi için: . +> Daha fazla bilgi için: . - Go sürümünü yazdır: diff --git a/pages.tr/common/go.md b/pages.tr/common/go.md index 79f3ba4c7b..cff9ed3e06 100644 --- a/pages.tr/common/go.md +++ b/pages.tr/common/go.md @@ -2,7 +2,7 @@ > 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: . +> Daha fazla bilgi için: . - İçe aktarım yolunda belirtilen şekilde bir paketi indir ve yükle: diff --git a/pages.uk/common/dog.md b/pages.uk/common/dog.md index 4f93d121e2..613e2bfb59 100644 --- a/pages.uk/common/dog.md +++ b/pages.uk/common/dog.md @@ -2,7 +2,7 @@ > Утиліта пошуку DNS. > Вона має кольоровий вихід, підтримує протоколи DNS-over-TLS і DNS-over-HTTPS та може видавати JSON. -> Більше інформації: . +> Більше інформації: . - Шукає IP-адреси пов'язані з іменем хоста (A records): @@ -18,12 +18,12 @@ - Запит через TCP, а не UDP: -`dog {{example.com}} MX @{{1.1.1.1}} --tcp` +`dog {{example.com}} MX @{{1.1.1.1}} {{[-T|--tcp]}}` - Запитує тип записів MX, пов’язаних із заданим доменним ім’ям через TCP, використовуючи явні аргументи: -`dog --query {{example.com}} --type MX --nameserver {{1.1.1.1}} --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}} --https @{{https://cloudflare-dns.com/dns-query}}` +`dog {{example.com}} {{[-H|--https]}} @{{https://cloudflare-dns.com/dns-query}}` diff --git a/pages.zh/common/aircrack-ng.md b/pages.zh/common/aircrack-ng.md index 78b864f8ac..6c9acfbd3d 100644 --- a/pages.zh/common/aircrack-ng.md +++ b/pages.zh/common/aircrack-ng.md @@ -1,13 +1,17 @@ # aircrack-ng -> 破解捕获数据包中的握手时段的 WEP 和 WPA/WPA2 密钥。 -> 是 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}}` diff --git a/pages.zh/common/asciinema.md b/pages.zh/common/asciinema.md index 00272e85fe..5a6e76e06d 100644 --- a/pages.zh/common/asciinema.md +++ b/pages.zh/common/asciinema.md @@ -1,37 +1,33 @@ # asciinema -> 录制和重放终端会话,并可以选择将其分享在 上。 -> 请参阅:`terminalizer`。 +> 录制和回放终端会话,并可选分享到 。 +> 另见:`terminalizer`。 > 更多信息:. -- 将本地安装的`asciinema`与 asciinema.org 账号关联: +- 将本地安装的 `asciinema` 与 asciinema.org 账号关联: `asciinema auth` -- 进行新的录制(使用 `` 完成录制或键入 `exit`,然后选择上传或保存到本地): - -`asciinema rec` - -- 进行新的录制,保存到本地的文件中: +- 新建录制并保存到本地文件(按 `` 或输入 `exit` 结束): `asciinema rec {{路径/到/录制文件.cast}}` -- 从本地文件中播放终端录屏: +- 从本地文件回放终端录制: `asciinema play {{路径/到/录制文件.cast}}` -- 在 中播放终端录屏: +- 回放托管在 的终端录制: `asciinema play https://asciinema.org/a/{{文件 ID}}` -- 进行新的录制,将闲置时间设置为最多 2.5 秒: +- 新建录制,限制空闲时间最多 2.5 秒: `asciinema rec {{[-i|--idle-time-limit]}} 2.5` -- 打印本地保存的录像的完整输出: +- 打印本地保存录制的完整输出: `asciinema cat {{路径/到/录制文件.cast}}` -- 从本地上传一个录屏到 asciinema.org: +- 上传本地保存的终端录制到 asciinema.org: `asciinema upload {{路径/到/录制文件.cast}}` diff --git a/pages.zh/common/binwalk.md b/pages.zh/common/binwalk.md index b9a284e3ac..6b2bd2c5d8 100644 --- a/pages.zh/common/binwalk.md +++ b/pages.zh/common/binwalk.md @@ -9,20 +9,20 @@ - 解压一个二进制文件并指定输出目录: -`binwalk --extract --directory {{输出目录}} {{二进制文件}}` +`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{输出目录}} {{二进制文件}}` - 递归解压一个二进制文件并限制递归深度为 2: -`binwalk --extract --matryoshka --depth {{2}} {{二进制文件}}` +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{二进制文件}}` - 解压一个二进制文件并指定文件签名: -`binwalk --dd '{{png image:png}}' {{二进制文件}}` +`binwalk {{[-D|--dd]}} '{{png image:png}}' {{二进制文件}}` - 分析一个二进制文件的熵,用与文件相同的名字和 `.png` 后缀保存绘图: -`binwalk --entropy --save {{二进制文件}}` +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{二进制文件}}` - 在单条命令中组合熵、签名和操作码分析: -`binwalk --entropy --signature --opcodes {{二进制文件}}` +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{二进制文件}}` diff --git a/pages.zh/common/go-bug.md b/pages.zh/common/go-bug.md index 19bb1f58a5..b164ad2595 100644 --- a/pages.zh/common/go-bug.md +++ b/pages.zh/common/go-bug.md @@ -1,7 +1,7 @@ # go bug > 报告一个错误。 -> 更多信息:. +> 更多信息:. - 打开一个网页并开始报告错误: diff --git a/pages.zh/common/go-build.md b/pages.zh/common/go-build.md index 8b93c93403..0713fa5c5e 100644 --- a/pages.zh/common/go-build.md +++ b/pages.zh/common/go-build.md @@ -1,7 +1,7 @@ # go build > 编译 Go 源代码。 -> 更多信息:. +> 更多信息:. - 编译 ‘package main’ 文件(输出为不带扩展名的文件名): diff --git a/pages.zh/common/go-clean.md b/pages.zh/common/go-clean.md index 76c9cedc41..783816a3f5 100644 --- a/pages.zh/common/go-clean.md +++ b/pages.zh/common/go-clean.md @@ -1,7 +1,7 @@ # go clean > 移除目标文件和缓存文件。 -> 更多信息:. +> 更多信息:. - 只打印移除命令,而不会真正移除任何东西: diff --git a/pages.zh/common/go-doc.md b/pages.zh/common/go-doc.md index e191710bfa..09aa2bde0d 100644 --- a/pages.zh/common/go-doc.md +++ b/pages.zh/common/go-doc.md @@ -1,7 +1,7 @@ # go doc > 显示包或符号的文档。 -> 更多信息:. +> 更多信息:. - 显示当前包的文档: diff --git a/pages.zh/common/go-env.md b/pages.zh/common/go-env.md index cf58f57e35..85a477c9a1 100644 --- a/pages.zh/common/go-env.md +++ b/pages.zh/common/go-env.md @@ -1,7 +1,7 @@ # go env > 管理 Go 工具链使用的环境变量。 -> 更多信息:. +> 更多信息:. - 显示所有环境变量: diff --git a/pages.zh/common/go.md b/pages.zh/common/go.md index fd41da432a..26b123bab4 100644 --- a/pages.zh/common/go.md +++ b/pages.zh/common/go.md @@ -2,7 +2,7 @@ > 管理 Go 源代码的工具。 > 此命令也有关于其子命令的文件,例如:`build`. -> 更多信息:. +> 更多信息:. - 下载并安装由其路径指定的包: diff --git a/pages.zh/common/jupyter.md b/pages.zh/common/jupyter.md index 0b3ef89eab..79b18c3f84 100644 --- a/pages.zh/common/jupyter.md +++ b/pages.zh/common/jupyter.md @@ -2,7 +2,7 @@ > 用于创建和共享包含代码、可视化和笔记的文档的 Web 应用程序。 > 主要用于数据分析、科学计算和机器学习。 -> 更多信息:. +> 更多信息:. - 在当前目录下启动一个 Jupyter notebook 服务器: @@ -18,7 +18,7 @@ - 在指定端口启动服务器: -`jupyter notebook --port={{端口}}` +`jupyter notebook --port {{端口}}` - 列出当前正在运行的 notebook 服务器: diff --git a/pages.zh/common/rubocop.md b/pages.zh/common/rubocop.md index bc1189703c..020842fbfb 100644 --- a/pages.zh/common/rubocop.md +++ b/pages.zh/common/rubocop.md @@ -9,7 +9,7 @@ - 检查一个或多个指定文件或目录: -`rubocop {{路径/到/文件1 路径/到/文件2 ...}}` +`rubocop {{路径/到/文件1 路径/到/文件2 ...}}` - 将输出写入指定文件: diff --git a/pages.zh/osx/say.md b/pages.zh/osx/say.md index a05df58812..f6654d79e3 100644 --- a/pages.zh/osx/say.md +++ b/pages.zh/osx/say.md @@ -9,20 +9,20 @@ - 播放文本文件内容音频: -`say --input-file={{文件名.txt}}` +`say --input-file {{文件名.txt}}` - 用自定义的语音和语音速率说出一个句子: -`say --voice={{语音库名}} --rate={{每分钟多少词}} "{{戴夫,我很抱歉,我不能让你那么干。}}"` +`say --voice {{语音库名}} --rate {{每分钟多少词}} "{{戴夫,我很抱歉,我不能让你那么干。}}"` - 列出可用的语音库(不同的语音用于不同的语言): -`say --voice="?"` +`say --voice "?"` - 用波兰语说一个句子: -`say --voice={{Zosia}} "{{Litwo, ojczyzno moja!}}"` +`say --voice {{Zosia}} "{{Litwo, ojczyzno moja!}}"` - 创建文本的音频文件: -`say --output-file={{文件名.aiff}} "{{献给疯狂的人们。}}"` +`say --output-file {{文件名.aiff}} "{{献给疯狂的人们。}}"` diff --git a/pages.zh/osx/shuf.md b/pages.zh/osx/shuf.md index c575546844..8a6d77da2e 100644 --- a/pages.zh/osx/shuf.md +++ b/pages.zh/osx/shuf.md @@ -13,7 +13,7 @@ - 将结果输出写入另一个文件: -`shuf {{路径/到/输入文件}} --output={{路径/到/输出文件}}` +`shuf {{路径/到/输入文件}} --output {{路径/到/输出文件}}` - 生成范围(1-10)内的随机数: diff --git a/pages.zh_TW/common/cd.md b/pages.zh_TW/common/cd.md index 957944b3be..369076d334 100644 --- a/pages.zh_TW/common/cd.md +++ b/pages.zh_TW/common/cd.md @@ -1,20 +1,28 @@ # cd -> 改變工作目錄。 +> 切換目前的工作目錄。 > 更多資訊:. -- 前往指定目錄: +- 切換為指定目錄: `cd {{目錄/完整/路徑}}` -- 前往目前使用者的家目錄: - -`cd` - -- 前往目前目錄的上層目錄: +- 切換為目前目錄的上層目錄: `cd ..` -- 前往之前所在的目錄: +- 切換為目前使用者的主目錄: + +`cd` + +- 切換為指定使用者的主目錄: + +`cd ~{{使用者名稱}}` + +- 切換為之前所在的目錄: `cd -` + +- 切換為根目錄: + +`cd /` diff --git a/pages/common/$.md b/pages/common/$.md index 4b4816b261..2b1a8074de 100644 --- a/pages/common/$.md +++ b/pages/common/$.md @@ -7,6 +7,10 @@ `echo ${{VARIABLE}}` +- Run variable contents as a command: + +`${{VARIABLE}}` + - Print the exit status of the previous command: `echo $?` diff --git a/pages/common/^.md b/pages/common/^.md index 56a8b0c1cb..e31f329d9a 100644 --- a/pages/common/^.md +++ b/pages/common/^.md @@ -19,3 +19,7 @@ - Replace all occurrences of `string1`: `^{{string1}}^{{string2}}^:&` + +- Print the substituted command without running it: + +`^{{string1}}^{{string2}}^:p` diff --git a/pages/common/argocd-app.md b/pages/common/argocd-app.md index cdf4d11aaf..75a3ee117d 100644 --- a/pages/common/argocd-app.md +++ b/pages/common/argocd-app.md @@ -1,6 +1,6 @@ # argocd app -> Command-line interface to manage applications by Argo CD. +> Interface to manage applications by Argo CD. > More information: . - List applications: diff --git a/pages/common/argocd.md b/pages/common/argocd.md index 94eaf48de7..f62d079817 100644 --- a/pages/common/argocd.md +++ b/pages/common/argocd.md @@ -1,6 +1,6 @@ # argocd -> Command-line interface to control a Argo CD server. +> Interface to control an Argo CD server. > Some subcommands such as `app` have their own usage documentation. > More information: . diff --git a/pages/common/asdf.md b/pages/common/asdf.md index 930af105cc..95f416aa7a 100644 --- a/pages/common/asdf.md +++ b/pages/common/asdf.md @@ -1,6 +1,6 @@ # asdf -> Command-line interface for managing versions of different packages. +> Manage versions of different packages. > More information: . - List all available plugins: diff --git a/pages/common/assimp.md b/pages/common/assimp.md index e0b66f6d02..0a6907d136 100644 --- a/pages/common/assimp.md +++ b/pages/common/assimp.md @@ -1,6 +1,6 @@ # 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: . diff --git a/pages/common/avo.md b/pages/common/avo.md index 89da6c5dfe..f432df25a2 100644 --- a/pages/common/avo.md +++ b/pages/common/avo.md @@ -1,6 +1,6 @@ # avo -> The official command-line interface for Avo. +> The official interface for Avo. > More information: . - Initialize a workspace in the current directory: diff --git a/pages/common/az-storage-account.md b/pages/common/az-storage-account.md index 367fdbbb01..4335384181 100644 --- a/pages/common/az-storage-account.md +++ b/pages/common/az-storage-account.md @@ -14,8 +14,8 @@ - List storage accounts: -`az storage account list {{[-g|--resource-group]}} {{azure_resource_group}}` +`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}}` +`az storage account delete {{[-n|--name]}} {{storage_account_name}} {{[-g|--resource-group]}} {{azure_resource_group}}` diff --git a/pages/common/binwalk.md b/pages/common/binwalk.md index 8f59d20816..f6def0355c 100644 --- a/pages/common/binwalk.md +++ b/pages/common/binwalk.md @@ -9,20 +9,20 @@ - Extract files from a binary, specifying the output directory: -`binwalk --extract --directory {{output_directory}} {{path/to/binary}}` +`binwalk {{[-e|--extract]}} {{[-C|--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}}` +`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{path/to/binary}}` - Extract files from a binary with the specified file signature: -`binwalk --dd '{{png image:png}}' {{path/to/binary}}` +`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 --entropy --save {{path/to/binary}}` +`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{path/to/binary}}` - Combine entropy, signature and opcodes analysis in a single command: -`binwalk --entropy --signature --opcodes {{path/to/binary}}` +`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{path/to/binary}}` diff --git a/pages/common/bitcoin-cli.md b/pages/common/bitcoin-cli.md index 5108fe511a..0ad266e583 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 Core daemon via RPC calls. +> Client to interact with the Bitcoin Core daemon via RPC calls. > Uses the configuration defined in `bitcoin.conf`. > More information: . diff --git a/pages/common/bitcoind.md b/pages/common/bitcoind.md index 68df9514fd..530ffff28e 100644 --- a/pages/common/bitcoind.md +++ b/pages/common/bitcoind.md @@ -16,6 +16,6 @@ `bitcoind -chain={{main|test|signet|regtest}}` -- Start the Bitcoin Core daemon using specific config file and data directory: +- 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/boxxy.md b/pages/common/boxxy.md new file mode 100644 index 0000000000..10918e4c69 --- /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/bpython.md b/pages/common/bpython.md index 693c18afa9..4a2e94bfe8 100644 --- a/pages/common/bpython.md +++ b/pages/common/bpython.md @@ -16,6 +16,6 @@ `bpython {{[-i|--interactive]}} {{path/to/file.py}}` -- Use the specified config file instead of the default config: +- Use the specified configuration file instead of the default configuration: `bpython --config {{path/to/file.conf}}` diff --git a/pages/common/buku.md b/pages/common/buku.md index 51728e97e1..75a55ee148 100644 --- a/pages/common/buku.md +++ b/pages/common/buku.md @@ -1,6 +1,6 @@ # buku -> Command-line browser-independent bookmark manager. +> Browser-independent bookmark manager. > More information: . - Display all bookmarks matching "keyword" and with "privacy" tag: diff --git a/pages/common/bunzip2.md b/pages/common/bunzip2.md new file mode 100644 index 0000000000..aeee683ae3 --- /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/bzcat.md b/pages/common/bzcat.md new file mode 100644 index 0000000000..f0c00502a7 --- /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/bzip2recover.md b/pages/common/bzip2recover.md new file mode 100644 index 0000000000..c6079ae02a --- /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/cabal.md b/pages/common/cabal.md index bec058ee4f..2ef0978f82 100644 --- a/pages/common/cabal.md +++ b/pages/common/cabal.md @@ -1,6 +1,6 @@ # 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: . diff --git a/pages/common/cake.md b/pages/common/cake.md index 7aaab38b8d..63311f2588 100644 --- a/pages/common/cake.md +++ b/pages/common/cake.md @@ -1,6 +1,6 @@ # 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: diff --git a/pages/common/clamscan.md b/pages/common/clamscan.md index fddd261559..dc6ebfab86 100644 --- a/pages/common/clamscan.md +++ b/pages/common/clamscan.md @@ -1,6 +1,6 @@ # clamscan -> A command-line virus scanner. +> A virus scanner. > More information: . - Scan a file for vulnerabilities: diff --git a/pages/common/clockwork-cli.md b/pages/common/clockwork-cli.md index 88e43b41ae..075c5d8c4a 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: diff --git a/pages/common/cmd-wrapped.md b/pages/common/cmd-wrapped.md new file mode 100644 index 0000000000..2bc45f2c9b --- /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/crane-index-append.md b/pages/common/crane-index-append.md index c4be0f5933..7d8b52a964 100644 --- a/pages/common/crane-index-append.md +++ b/pages/common/crane-index-append.md @@ -2,7 +2,7 @@ > 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 config file or omitted if that is infeasible. +> 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: diff --git a/pages/common/crictl.md b/pages/common/crictl.md index 6ca0deb7b7..3825fe528f 100644 --- a/pages/common/crictl.md +++ b/pages/common/crictl.md @@ -1,6 +1,6 @@ # crictl -> Command-line for CRI-compatible container runtimes. +> Manage CRI-compatible container runtimes. > More information: . - List all kubernetes pods (Ready and NotReady): diff --git a/pages/common/crystal.md b/pages/common/crystal.md index 318403eaba..844ef142ff 100644 --- a/pages/common/crystal.md +++ b/pages/common/crystal.md @@ -31,6 +31,6 @@ `crystal init app {{application_name}}` -- Display all help options: +- Display help: `crystal help` diff --git a/pages/common/deluge.md b/pages/common/deluge.md index 4af2d08e33..59e681208c 100644 --- a/pages/common/deluge.md +++ b/pages/common/deluge.md @@ -1,6 +1,6 @@ # deluge -> A command-line BitTorrent client. +> A BitTorrent client. > More information: . - Download a torrent: diff --git a/pages/common/doppler.md b/pages/common/doppler.md index 47d40b7a85..3d4ff45f52 100644 --- a/pages/common/doppler.md +++ b/pages/common/doppler.md @@ -8,7 +8,7 @@ `doppler setup` -- Setup Doppler project and config in current directory: +- Setup Doppler project and configuration in current directory: `doppler setup` diff --git a/pages/common/dotnet.md b/pages/common/dotnet.md index b9b374eb12..0592caa8fe 100644 --- a/pages/common/dotnet.md +++ b/pages/common/dotnet.md @@ -1,6 +1,6 @@ # dotnet -> Cross platform .NET command-line tools for .NET Core. +> Cross platform .NET tools for .NET Core. > Some subcommands such as `build` have their own usage documentation. > More information: . diff --git a/pages/common/drush.md b/pages/common/drush.md index 567c39a9f5..8a5233cb77 100644 --- a/pages/common/drush.md +++ b/pages/common/drush.md @@ -1,6 +1,6 @@ # drush -> A command-line shell and scripting interface for Drupal. +> Shell and scripting interface for Drupal. > More information: . - Enable module "foo": diff --git a/pages/common/duckdb.md b/pages/common/duckdb.md index 586305c00f..dfb31dc55f 100644 --- a/pages/common/duckdb.md +++ b/pages/common/duckdb.md @@ -1,6 +1,6 @@ # duckdb -> Command-line client for DuckDB, an in-process analytical SQL engine. +> Client for DuckDB, an in-process analytical SQL engine. > More information: . - Start an interactive shell with a transient in-memory database: diff --git a/pages/common/ern.md b/pages/common/ern.md index 76dd54786d..5bf40303fd 100644 --- a/pages/common/ern.md +++ b/pages/common/ern.md @@ -1,6 +1,6 @@ # ern -> Electrode Native platform command-line client. +> Electrode Native platform client. > More information: . - Create a new `ern` application (`MiniApp`): diff --git a/pages/common/ex.md b/pages/common/ex.md index 2863668cdc..93c58fbf55 100644 --- a/pages/common/ex.md +++ b/pages/common/ex.md @@ -1,6 +1,6 @@ # ex -> Command-line text editor. +> Text editor. > See also: `vim`. > More information: . diff --git a/pages/common/ffprobe.md b/pages/common/ffprobe.md index 464398d1f9..bb76bb7960 100644 --- a/pages/common/ffprobe.md +++ b/pages/common/ffprobe.md @@ -9,16 +9,16 @@ - Display media duration: -`ffprobe {{[-v|-loglevel]}} error -show_entries format=duration {{[-of|-output_format]}} 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|-loglevel]}} error -select_streams v:0 -show_entries stream=avg_frame_rate {{[-of|-output_format]}} 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|-loglevel]}} error -select_streams v:0 -show_entries stream={{width|height}} {{[-of|-output_format]}} 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|-loglevel]}} error -select_streams v:0 -show_entries stream=bit_rate {{[-of|-output_format]}} 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/fin.md b/pages/common/fin.md index 46747e1300..6005b01650 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: diff --git a/pages/common/flexget.md b/pages/common/flexget.md index ab9a4c5ed4..c882bea47f 100644 --- a/pages/common/flexget.md +++ b/pages/common/flexget.md @@ -15,6 +15,6 @@ `flexget series list` -- Run a task from a config file: +- Run a task from a configuration file: `flexget -c {{path/to/config.yml}} execute --task {{task_name}}` diff --git a/pages/common/fluxctl.md b/pages/common/fluxctl.md index ec753abaf6..4a60f07cb6 100644 --- a/pages/common/fluxctl.md +++ b/pages/common/fluxctl.md @@ -1,6 +1,6 @@ # fluxctl -> Command-line tool for Flux v1. +> Tool for Flux v1. > More information: . - List workloads currently running in the cluster on specific namespace: diff --git a/pages/common/fly.md b/pages/common/fly.md index 9e9e041fbf..08d47f705f 100644 --- a/pages/common/fly.md +++ b/pages/common/fly.md @@ -1,6 +1,6 @@ # fly -> Command-line tool for concourse-ci. +> Tool for concourse-ci. > More information: . - Authenticate with and save concourse target: diff --git a/pages/common/flyctl.md b/pages/common/flyctl.md index c7790c0685..7e46a8517e 100644 --- a/pages/common/flyctl.md +++ b/pages/common/flyctl.md @@ -1,6 +1,6 @@ # flyctl -> Command-line tool for flyctl.io. +> Tool for flyctl.io. > More information: . - Sign into a Fly account: diff --git a/pages/common/frps.md b/pages/common/frps.md index dc768c3ebf..b2cbb59c70 100644 --- a/pages/common/frps.md +++ b/pages/common/frps.md @@ -12,7 +12,7 @@ `frps {{[-c|--config]}} ./frps.toml` -- Start the service, using a specified config file: +- Start the service, using a specified configuration file: `frps {{[-c|--config]}} {{path/to/file}}` diff --git a/pages/common/fzf.md b/pages/common/fzf.md index f93eed3fd6..3ae4b54a9b 100644 --- a/pages/common/fzf.md +++ b/pages/common/fzf.md @@ -1,6 +1,6 @@ # fzf -> Command-line fuzzy finder. +> Fuzzy finder. > Similar to `sk`. > More information: . diff --git a/pages/common/gh-issue-create.md b/pages/common/gh-issue-create.md index 9a90f6c48f..1b70011d44 100644 --- a/pages/common/gh-issue-create.md +++ b/pages/common/gh-issue-create.md @@ -27,6 +27,6 @@ `gh issue create {{[-w|--web]}}` -- Display the help: +- Display help: `gh issue create --help` diff --git a/pages/common/gh-repo-create.md b/pages/common/gh-repo-create.md new file mode 100644 index 0000000000..f72e6f4b1d --- /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 create` + +- Create a new repository with a specified name and description: + +`gh repo create {{repo_name}} {{[-d|--description]}} "{{repo_description}}"` + +- Create a private repository from the current directory: + +`gh repo create {{[-s|--source]}} . --private` + +- Clone the new repository locally after creation: + +`gh repo create {{repo_name}} {{[-c|--clone]}}` + +- Push the current directory to a new GitHub repository: + +`gh repo create {{[-s|--source]}} . --public` diff --git a/pages/common/git-show.md b/pages/common/git-show.md index 43a2ab3d6b..05d77d64ea 100644 --- a/pages/common/git-show.md +++ b/pages/common/git-show.md @@ -7,13 +7,9 @@ `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}}` - -- Show information about the commit associated with a given tag: - -`git show {{tag}}` +`git show {{commit|tag|branch}}` - Show information about the 3rd commit from the HEAD of a branch: @@ -27,6 +23,10 @@ `git show --stat {{commit}}` +- Show a simplified list of all files changed in a commit (modified, added, and deleted): + +`git show --name-only {{commit}}` + - Show only the list of added, renamed or deleted files: `git show --summary {{commit}}` diff --git a/pages/common/glab-alias.md b/pages/common/glab-alias.md index 0eab2b5bba..55335aa88e 100644 --- a/pages/common/glab-alias.md +++ b/pages/common/glab-alias.md @@ -3,10 +3,6 @@ > Manage GitLab CLI command aliases. > More information: . -- Display the subcommand help: - -`glab alias` - - List all the aliases `glab` is configured to use: `glab alias list` @@ -22,3 +18,7 @@ - Delete a command shortcut: `glab alias delete {{alias_name}}` + +- Display the subcommand help: + +`glab alias` diff --git a/pages/common/gnmic.md b/pages/common/gnmic.md index 622d7c1ace..b7bb8512c3 100644 --- a/pages/common/gnmic.md +++ b/pages/common/gnmic.md @@ -1,6 +1,6 @@ # gnmic -> A gNMI command-line client. +> A gNMI client. > Manage gNMI network device configuration and view operational data. > More information: . diff --git a/pages/common/go-bug.md b/pages/common/go-bug.md index 768259bce8..8d189d0fcc 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 4f2c2247d0..334109eda8 100644 --- a/pages/common/go-build.md +++ b/pages/common/go-build.md @@ -1,7 +1,7 @@ # go build > Compile Go sources. -> More information: . +> More information: . - Compile a 'package main' file (output will be the filename without extension): diff --git a/pages/common/go-clean.md b/pages/common/go-clean.md index 803c821152..eab56de470 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 f68f0dd2f2..1a0d9dea5f 100644 --- a/pages/common/go-doc.md +++ b/pages/common/go-doc.md @@ -1,7 +1,7 @@ # go doc > View documentation for a package or symbol. -> More information: . +> More information: . - View documentation for the current package: diff --git a/pages/common/go-env.md b/pages/common/go-env.md index 2820bdd4e3..41e1471df8 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 fcef7e8572..c712c813c4 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-generate.md b/pages/common/go-generate.md index 8a1f3b746d..a902a2a6a6 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-list.md b/pages/common/go-list.md index 8ded827e4c..313fea2cde 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: diff --git a/pages/common/go-mod.md b/pages/common/go-mod.md index 0d18048640..2ae8e9c2ac 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-version.md b/pages/common/go-version.md index 6ff1551492..1fe9ccfd63 100644 --- a/pages/common/go-version.md +++ b/pages/common/go-version.md @@ -1,7 +1,7 @@ # go version > Display Go version. -> More information: . +> More information: . - Display version: diff --git a/pages/common/go.md b/pages/common/go.md index 3b77b1c817..c037f46703 100644 --- a/pages/common/go.md +++ b/pages/common/go.md @@ -2,7 +2,7 @@ > Manage Go source code. > Some subcommands such as `build` have their own usage documentation. -> More information: . +> More information: . - Download and install a package, specified by its import path: diff --git a/pages/common/gofmt.md b/pages/common/gofmt.md index 2242782208..a33685e479 100644 --- a/pages/common/gofmt.md +++ b/pages/common/gofmt.md @@ -1,7 +1,7 @@ # gofmt > Format Go source code. -> More information: . +> 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 5660831177..ce3bbe8945 100644 --- a/pages/common/goimports.md +++ b/pages/common/goimports.md @@ -1,7 +1,7 @@ # goimports > Updates Go import lines, adding missing ones and removing unreferenced ones. -> More information: . +> More information: . - Display the completed import source file: diff --git a/pages/common/googler.md b/pages/common/googler.md index 0c64baaaa7..5eef5ca2a1 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: diff --git a/pages/common/grep.md b/pages/common/grep.md index 73f5af0e5a..eb774e877f 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -13,11 +13,11 @@ - Search for a pattern in all files recursively in a directory, showing line numbers of matches, ignoring binary files: -`grep {{[-r|--recursive]}} {{[-n|--line-number]}} {{[-I|--binary-files=without-match]}} "{{search_pattern}}" {{path/to/directory}}` +`grep {{[-rnI|--recursive --line-number --binary-files=without-match]}} "{{search_pattern}}" {{path/to/directory}}` - Use extended regular expressions (supports `?`, `+`, `{}`, `()`, and `|`), in case-insensitive mode: -`grep {{[-E|--extended-regexp]}} {{[-i|--ignore-case]}} "{{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: @@ -25,7 +25,7 @@ - Print file name and line number for each match with color output: -`grep {{[-H|--with-filename]}} {{[-n|--line-number]}} --color=always "{{search_pattern}}" {{path/to/file}}` +`grep {{[-Hn|--with-filename --line-number]}} --color=always "{{search_pattern}}" {{path/to/file}}` - Search for lines matching a pattern, printing only the matched text: 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 0000000000..2796277777 --- /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 0000000000..8716b2e4eb --- /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 index c1cea4c299..fe778e2e91 100644 --- a/pages/common/gst-inspect-1.0.md +++ b/pages/common/gst-inspect-1.0.md @@ -10,3 +10,27 @@ - List hardware transcoding capabilities of your device: `gst-inspect-1.0 {{vaapi|nvcodec}}` + +- List available container plugins: + +`gst-inspect-10 {{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 index 471aa8a540..24e3b9f2ad 100644 --- a/pages/common/gst-launch-1.0.md +++ b/pages/common/gst-launch-1.0.md @@ -1,11 +1,16 @@ # 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 ! xvimagesink` +`gst-launch-1.0 videotestsrc ! autovideosink` + +- Play test audio: + +`gst-launch-1.0 audiotestsrc ! autoaudiosink` - Play a media file in a window: @@ -18,3 +23,15 @@ - 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/gvim.md b/pages/common/gvim.md new file mode 100644 index 0000000000..441e5ae71b --- /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/hangups.md b/pages/common/hangups.md index 65b396b44e..7a40fcaa5e 100644 --- a/pages/common/hangups.md +++ b/pages/common/hangups.md @@ -1,6 +1,6 @@ # hangups -> Third party command-line client for Google Hangouts. +> Third party client for Google Hangouts. > More information: . - Start `hangups`: diff --git a/pages/common/hexedit.md b/pages/common/hexedit.md new file mode 100644 index 0000000000..a1ad959af5 --- /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/hsd-cli.md b/pages/common/hsd-cli.md index 61dd3282cf..8eb793d846 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 c4b16801c1..209ddccb91 100644 --- a/pages/common/hsw-cli.md +++ b/pages/common/hsw-cli.md @@ -1,6 +1,6 @@ # hsw-cli -> The command-line REST tool for the Handshake wallet. +> The REST tool for the Handshake wallet. > More information: . - Unlock the current wallet (timeout in seconds): diff --git a/pages/common/http-server-upload.md b/pages/common/http-server-upload.md index 81e918e6db..222d6297f2 100644 --- a/pages/common/http-server-upload.md +++ b/pages/common/http-server-upload.md @@ -1,6 +1,6 @@ # http-server-upload -> Zero-configuration command-line HTTP server which provides a lightweight interface to upload files. +> 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: diff --git a/pages/common/httpflow.md b/pages/common/httpflow.md index dc7e25f4c8..e649cba618 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: diff --git a/pages/common/hugo-server.md b/pages/common/hugo-server.md index 55c3501f16..e93964228f 100644 --- a/pages/common/hugo-server.md +++ b/pages/common/hugo-server.md @@ -9,7 +9,7 @@ - Build and serve a site on a specified port number: -`hugo server --port {{port_number}}` +`hugo server {{[-p|--port]}} {{port_number}}` - Build and serve a site while minifying supported output formats (HTML, XML, etc.): @@ -17,8 +17,8 @@ - Build and serve a site in the production environment with full re-renders while minifying supported formats: -`hugo server --environment {{production}} --disableFastRender --minify` +`hugo server {{[-e|--environment]}} {{production}} --disableFastRender --minify` - Display help: -`hugo server --help` +`hugo server {{[-h|--help]}}` diff --git a/pages/common/hugo.md b/pages/common/hugo.md index 9962fe477e..68f42cbf48 100644 --- a/pages/common/hugo.md +++ b/pages/common/hugo.md @@ -22,7 +22,7 @@ - Build a site including pages that are marked as a "draft": -`hugo --buildDrafts` +`hugo {{[-D|--buildDrafts]}}` - Build a site on your local IP: @@ -30,7 +30,7 @@ - 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/hyperfine.md b/pages/common/hyperfine.md index 5894cd5d9c..f9827bfb08 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: diff --git a/pages/common/ia.md b/pages/common/ia.md index 6fb900d6f9..12a5b3a87b 100644 --- a/pages/common/ia.md +++ b/pages/common/ia.md @@ -1,6 +1,6 @@ # ia -> Command-line tool to interact with `archive.org`. +> Tool to interact with `archive.org`. > More information: . - Configure `ia` with API keys (some functions won't work without this step): diff --git a/pages/common/ibmcloud.md b/pages/common/ibmcloud.md index 03c3be141d..e31e84bc8a 100644 --- a/pages/common/ibmcloud.md +++ b/pages/common/ibmcloud.md @@ -1,6 +1,6 @@ # ibmcloud -> A command-line tool for managing IBM Cloud apps and services. +> A tool for managing IBM Cloud apps and services. > More information: . - Update `ibmcloud` to the latest version: diff --git a/pages/common/immich-cli.md b/pages/common/immich-cli.md index c506f12c4e..add5555507 100644 --- a/pages/common/immich-cli.md +++ b/pages/common/immich-cli.md @@ -1,6 +1,6 @@ # immich-cli -> Immich has a command-line interface (CLI) that allows you to perform certain actions from the command-line. +> Immich command-line interface (CLI) that allows you to perform certain actions. > See also: `immich-go`. > More information: . @@ -10,7 +10,7 @@ - Upload some image files: -`immich upload {{file1.jpg file2.jpg}}` +`immich upload {{file1.jpg file2.jpg ...}}` - Upload a directory including subdirectories: diff --git a/pages/common/immich-go.md b/pages/common/immich-go.md index eaa63daa51..71130edf8c 100644 --- a/pages/common/immich-go.md +++ b/pages/common/immich-go.md @@ -12,7 +12,7 @@ `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 config file: +- 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}}` diff --git a/pages/common/influx.md b/pages/common/influx.md index 732222a1c3..ff1ba014f0 100644 --- a/pages/common/influx.md +++ b/pages/common/influx.md @@ -1,6 +1,6 @@ # influx -> InfluxDB v1 command-line client. +> InfluxDB v1 client. > More information: . - Connect to an InfluxDB running on localhost with no credentials: diff --git a/pages/common/ipcalc.md b/pages/common/ipcalc.md index 9c6159e0cd..2306b53bb3 100644 --- a/pages/common/ipcalc.md +++ b/pages/common/ipcalc.md @@ -23,6 +23,6 @@ `ipcalc {{[-s|--split]}} {{size1 size2 size3 ...}} {{192.168.0.1}}` -- Show version information: +- Display version: `ipcalc {{[-v|--version]}}` diff --git a/pages/common/ivpn.md b/pages/common/ivpn.md index 7f8fa277bb..f5f1e9e9ca 100644 --- a/pages/common/ivpn.md +++ b/pages/common/ivpn.md @@ -1,6 +1,6 @@ # ivpn -> Command-line interface for the IVPN client. +> Interface for the IVPN client. > See also: `fastd`, `mozillavpn`, `mullvad`, `warp-cli`. > More information: . diff --git a/pages/common/jello.md b/pages/common/jello.md index a40dc2de18..3401e6236c 100644 --- a/pages/common/jello.md +++ b/pages/common/jello.md @@ -1,6 +1,6 @@ # jello -> A command-line JSON processor using Python syntax. +> A JSON processor using Python syntax. > More information: . - Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`: diff --git a/pages/common/jira.md b/pages/common/jira.md new file mode 100644 index 0000000000..c5a87f90a1 --- /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/jrnl.md b/pages/common/jrnl.md index fb9dac1119..8f76fbcc8b 100644 --- a/pages/common/jrnl.md +++ b/pages/common/jrnl.md @@ -1,6 +1,6 @@ # jrnl -> A simple journal application for your command-line. +> A simple journal application. > More information: . - Insert a new entry with your editor: diff --git a/pages/common/keepassxc-cli.md b/pages/common/keepassxc-cli.md index a91d3f4e43..62240f103a 100644 --- a/pages/common/keepassxc-cli.md +++ b/pages/common/keepassxc-cli.md @@ -1,6 +1,6 @@ # keepassxc-cli -> Command-line interface for KeepassXC. +> Interface for KeepassXC. > More information: . - Search entries: diff --git a/pages/common/khal.md b/pages/common/khal.md index 15e606a70a..b064e11064 100644 --- a/pages/common/khal.md +++ b/pages/common/khal.md @@ -1,6 +1,6 @@ # 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: diff --git a/pages/common/kubeadm.md b/pages/common/kubeadm.md index 389751c0d4..615e1c4a2e 100644 --- a/pages/common/kubeadm.md +++ b/pages/common/kubeadm.md @@ -1,6 +1,6 @@ # kubeadm -> Command-line interface for creating and managing Kubernetes clusters. +> Interface for creating and managing Kubernetes clusters. > More information: . - Create a Kubernetes control plane: diff --git a/pages/common/kubectl.md b/pages/common/kubectl.md index 9426ad44cf..3aee9ed7a7 100644 --- a/pages/common/kubectl.md +++ b/pages/common/kubectl.md @@ -1,6 +1,6 @@ # kubectl -> Command-line interface for running commands against Kubernetes clusters. +> Run commands against Kubernetes clusters. > Some subcommands such as `run` have their own usage documentation. > More information: . diff --git a/pages/common/kubie.md b/pages/common/kubie.md index c4d2aac443..09a2aecb6a 100644 --- a/pages/common/kubie.md +++ b/pages/common/kubie.md @@ -23,6 +23,6 @@ `kubie exec {{context}} {{namespace}} {{command}}` -- Check the Kubernetes config files for issues: +- Check the Kubernetes configuration files for issues: `kubie lint` diff --git a/pages/common/laravel-zero.md b/pages/common/laravel-zero.md index 969948722b..ea12f738ae 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 1e93e2ab73..201421ae1e 100644 --- a/pages/common/laravel.md +++ b/pages/common/laravel.md @@ -1,6 +1,6 @@ # laravel -> A command-line installer for the Laravel framework. +> Installer for the Laravel framework. > More information: . - Create a new Laravel application: diff --git a/pages/common/ldapsearch.md b/pages/common/ldapsearch.md index dd81da1fb9..b5feda442d 100644 --- a/pages/common/ldapsearch.md +++ b/pages/common/ldapsearch.md @@ -9,28 +9,28 @@ - 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|--bindDN]}} '{{admin_DN}}' {{[-u|--keyStorePasswordFile]}} '{{password_file}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{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|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-z|--sizeLimit]}} 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|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{base_ou}} '{{memberOf=group1}}' {{[-l|--timeLimitSeconds]}} 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|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{ldap_host}} {{[-b|--baseDN]}} {{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|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{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|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{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|--bindDN]}} '{{admin_DN}}' {{[-w|--bindPassword]}} '{{password}}' {{[-h|--hostname]}} {{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/linkchecker.md b/pages/common/linkchecker.md index 9af2f02875..5849cc8204 100644 --- a/pages/common/linkchecker.md +++ b/pages/common/linkchecker.md @@ -1,6 +1,6 @@ # linkchecker -> Command-line client to check HTML documents and websites for broken links. +> Client to check HTML documents and websites for broken links. > More information: . - Find broken links on : diff --git a/pages/common/lpass.md b/pages/common/lpass.md index a2ebff2905..788aeeefdf 100644 --- a/pages/common/lpass.md +++ b/pages/common/lpass.md @@ -1,6 +1,6 @@ # lpass -> Command-line interface for the LastPass password manager. +> Interface for the LastPass password manager. > More information: . - Log in to your LastPass account, by entering your master password when prompted: diff --git a/pages/common/lumen.md b/pages/common/lumen.md index 004bdf762c..4c199fcdd5 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 3e0dc8dc04..d1d5922a3a 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/magick-convert.md b/pages/common/magick-convert.md index d1544fa9c6..d6c697e9a0 100644 --- a/pages/common/magick-convert.md +++ b/pages/common/magick-convert.md @@ -20,9 +20,9 @@ `magick convert {{path/to/input_image.png}} -define jpeg:extent=512kb {{path/to/output_image.jpg}}` -- Vertically/horizontally append images: +- Vertically/horizontally append images and have the empty space be transparent: -`magick convert {{path/to/image1.png path/to/image2.png ...}} {{-append|+append}} {{path/to/output_image.png}}` +`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: diff --git a/pages/common/mail.md b/pages/common/mail.md index 75f9638649..f1d2596bcb 100644 --- a/pages/common/mail.md +++ b/pages/common/mail.md @@ -1,6 +1,6 @@ # mail -> The command operates on the user's mailbox if no argument is given. +> Operate on the user's mailbox. > To send an email the message body is built from `stdin`. > More information: . diff --git a/pages/common/mdp.md b/pages/common/mdp.md index 71996449a9..ece30793f6 100644 --- a/pages/common/mdp.md +++ b/pages/common/mdp.md @@ -1,6 +1,6 @@ # mdp -> A command-line based tool to make presentations from Markdown files. +> Make presentations from Markdown files. > More information: . - Launch a presentation in the terminal from a Markdown file: diff --git a/pages/common/meshlabserver.md b/pages/common/meshlabserver.md index b9ba7effd4..ead488e0c7 100644 --- a/pages/common/meshlabserver.md +++ b/pages/common/meshlabserver.md @@ -1,6 +1,6 @@ # 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: diff --git a/pages/common/meson.md b/pages/common/meson.md index 9f3b5ad6fa..34f16cb15c 100644 --- a/pages/common/meson.md +++ b/pages/common/meson.md @@ -19,7 +19,7 @@ `meson test` -- Show the help: +- Display help: `meson {{[-h|--help]}}` diff --git a/pages/common/mp3info.md b/pages/common/mp3info.md index 600c988c7c..72dcfdd1c0 100644 --- a/pages/common/mp3info.md +++ b/pages/common/mp3info.md @@ -7,22 +7,22 @@ `mp3info {{path/to/file.mp3}}` -- Edit ID3v1 tags interactively: +- Edit ID3v1 tags [i]nteractively: `mp3info -i {{path/to/file.mp3}}` -- Set values for ID3v1 tags in a specific MP3 file: +- 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 number of the track in the album for a specific MP3 file: +- Set the [n]umber of the track in the album for a specific MP3 file: `mp3info -n {{track_number}} {{path/to/file.mp3}}` -- Print a list of valid genres and their numeric codes: +- [G]et a list of valid genres and their numeric codes: `mp3info -G` -- Set the music genre for a specific MP3 file: +- Set the music [g]enre for a specific MP3 file: `mp3info -g {{genre_number}} {{path/to/file.mp3}}` diff --git a/pages/common/msgcat.md b/pages/common/msgcat.md new file mode 100644 index 0000000000..ae1f042afa --- /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/mysql.md b/pages/common/mysql.md index d83cb059af..1e1f9c874a 100644 --- a/pages/common/mysql.md +++ b/pages/common/mysql.md @@ -1,6 +1,6 @@ # mysql -> The MySQL command-line tool. +> The MySQL tool. > More information: . - Connect to a database: diff --git a/pages/common/mysqlsh.md b/pages/common/mysqlsh.md index 80cfe0bbce..3e231328ea 100644 --- a/pages/common/mysqlsh.md +++ b/pages/common/mysqlsh.md @@ -1,6 +1,6 @@ # mysqlsh -> Advanced command-line client for MySQL, supporting SQL, JavaScript, and Python. +> Advanced client for MySQL, supporting SQL, JavaScript, and Python. > It offers features for managing InnoDB clusters and document store collections. > More information: . diff --git a/pages/common/nano.md b/pages/common/nano.md index c4a1f789a6..41d65eb5cc 100644 --- a/pages/common/nano.md +++ b/pages/common/nano.md @@ -1,20 +1,17 @@ # nano -> Command-line text editor. An enhanced `Pico` clone. -> More information: . +> Text editor. An enhanced `pico` clone. +> See also: `pico`, `rnano`. +> More information: . -- Start the editor: +- Open specific files, moving to the next file after closing the previous one: -`nano` +`nano {{path/to/file1 path/to/file2 ...}}` - Start the editor without using configuration files: `nano {{[-I|--ignorercfiles]}}` -- Open specific files, moving to the next file when closing the previous one: - -`nano {{path/to/file1 path/to/file2 ...}}` - - Open a file and position the cursor at a specific line and column: `nano +{{line}},{{column}} {{path/to/file}}` @@ -31,6 +28,10 @@ `nano {{[-B|--backup]}} {{path/to/file}}` +- Open a file in restricted mode (i.e. don't read/write to files not specified on the command-line): + +`nano {{[-R|--restricted]}} {{path/to/file}}` + - Exit nano: `` diff --git a/pages/common/ndc.md b/pages/common/ndc.md new file mode 100644 index 0000000000..f63dd33cc2 --- /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/neomutt.md b/pages/common/neomutt.md index c5885ec5b0..5f6ad00d27 100644 --- a/pages/common/neomutt.md +++ b/pages/common/neomutt.md @@ -1,6 +1,6 @@ # neomutt -> NeoMutt command-line email client. +> NeoMutt email client. > More information: . - Open the specified mailbox: diff --git a/pages/common/nix-classic.md b/pages/common/nix-classic.md index 4c6a5e795a..55d2e7e77b 100644 --- a/pages/common/nix-classic.md +++ b/pages/common/nix-classic.md @@ -19,7 +19,7 @@ - Show all dependencies of a store path (package), in a tree format: -`nix-store {{[-q|--query]}} --tree {{/nix/store/...}}` +`nix-store {{[-q|--query]}} --tree /nix/store/{{checksum-package-version.ext}}` - Update the channels (repositories): diff --git a/pages/common/nix-store.2.md b/pages/common/nix-store.2.md index ae01d7f9a7..9a46cacb57 100644 --- a/pages/common/nix-store.2.md +++ b/pages/common/nix-store.2.md @@ -14,16 +14,16 @@ - Delete a specific store path (must be unused): -`nix-store --delete {{/nix/store/...}}` +`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/...}}` +`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/...}})` +`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/...}}` +`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 index bad804585f..8911aedc14 100644 --- a/pages/common/nix-store.3.md +++ b/pages/common/nix-store.3.md @@ -14,12 +14,12 @@ - Delete a specific store path (most be unused): -`nix store delete {{/nix/store/...}}` +`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/...}}` +`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/...}} {{/nix/store/...}}` +`nix store diff-closures /nix/store/{{checksum-package-version.ext}} /nix/store/{{checksum-package-version.ext}}` diff --git a/pages/common/nix-why-depends.md b/pages/common/nix-why-depends.md index 5dfd26ca59..99835262cb 100644 --- a/pages/common/nix-why-depends.md +++ b/pages/common/nix-why-depends.md @@ -5,7 +5,7 @@ - Show why the currently running NixOS system requires a certain store path: -`nix why-depends {{/run/current-system}} {{/nix/store/...}}` +`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: diff --git a/pages/common/nms.md b/pages/common/nms.md index c8a19bef20..55e7eaedee 100644 --- a/pages/common/nms.md +++ b/pages/common/nms.md @@ -1,6 +1,6 @@ # nms -> Command-line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`. +> Tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`. > More information: . - Decrypt text after a keystroke: diff --git a/pages/common/notmuch.md b/pages/common/notmuch.md index 39e072d872..1b128070b3 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/on_ac_power.md b/pages/common/on_ac_power.md new file mode 100644 index 0000000000..6a4aa313a5 --- /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/ouch.md b/pages/common/ouch.md index cfc0d367b8..72d3c4e268 100644 --- a/pages/common/ouch.md +++ b/pages/common/ouch.md @@ -1,6 +1,6 @@ # ouch -> Command-line utility for compressing and decompressing files and directories. +> Utility for compressing and decompressing files and directories. > More information: . - Decompress a specific file: diff --git a/pages/common/patator.md b/pages/common/patator.md index 720c4c2475..51df5e124c 100644 --- a/pages/common/patator.md +++ b/pages/common/patator.md @@ -23,6 +23,6 @@ `patator --help` -- Show help for a particular module: +- Display help for a particular module: `patator {{module_name}} --help` diff --git a/pages/common/perl.md b/pages/common/perl.md index 9ea49d21c0..2d99d80428 100644 --- a/pages/common/perl.md +++ b/pages/common/perl.md @@ -9,7 +9,7 @@ - Say [-E] first match group, using a regexp, ignoring space in regex [/x]: -`perl -n -E 'say $1 if m/{{before}} ( {{group_regex}} ) {{after}}/x'` +`perl -n -E 'say $1 if m/{{before}} ( {{group_regex}} ) {{after}}/x'` - [-i]n-place, with backup, [s/] substitute all occurrence [/g] of regex with replacement: diff --git a/pages/common/phpunit.md b/pages/common/phpunit.md index 08fc952f60..c5a70bbe74 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': diff --git a/pages/common/piactl.md b/pages/common/piactl.md index 3128412881..b5b9c47285 100644 --- a/pages/common/piactl.md +++ b/pages/common/piactl.md @@ -1,6 +1,6 @@ # piactl -> The command-line tool for Private Internet Access, a commercial VPN provider. +> The tool for Private Internet Access, a commercial VPN provider. > More information: . - Log in to Private Internet Access: diff --git a/pages/common/pico.md b/pages/common/pico.md new file mode 100644 index 0000000000..2393dd0d47 --- /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}}` + +- Displays all files including those beginning with a period: + +`pico -a` diff --git a/pages/common/pio-account.md b/pages/common/pio-account.md index be3133f40e..f627e2b65d 100644 --- a/pages/common/pio-account.md +++ b/pages/common/pio-account.md @@ -1,6 +1,6 @@ # pio account -> Manage your PlatformIO account in the command-line. +> Manage your PlatformIO account. > More information: . - Register a new PlatformIO account: diff --git a/pages/common/piper.md b/pages/common/piper.md index 3b339ba33a..6cbad961b8 100644 --- a/pages/common/piper.md +++ b/pages/common/piper.md @@ -4,7 +4,7 @@ > Try out and download speech models from . > More information: . -- Output a WAV [f]ile using a text-to-speech [m]odel (assuming a config file at model_path + .json): +- 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}}` diff --git a/pages/common/pixi.md b/pages/common/pixi.md index 1d65dde573..76cbeacbc0 100644 --- a/pages/common/pixi.md +++ b/pages/common/pixi.md @@ -23,7 +23,7 @@ `pixi task {{command}}` -- Print the help message: +- Display help: `pixi {{command}} --help` diff --git a/pages/common/pkgz.md b/pages/common/pkgz.md new file mode 100644 index 0000000000..ec09e2d875 --- /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/poetry.md b/pages/common/poetry.md index 349900639e..af54b74f16 100644 --- a/pages/common/poetry.md +++ b/pages/common/poetry.md @@ -32,6 +32,6 @@ `poetry version {{patch|minor|major|prepatch|preminor|premajor|prerelease}}` -- Spawn a shell within the project's virtual environment: +- Spawn a shell within the project's virtual environment (for versions below 2.0, use `poetry shell`): -`poetry shell` +`eval "$(poetry env activate)"` diff --git a/pages/common/pprof.md b/pages/common/pprof.md index a4f20093a5..b25e767e47 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/pre-commit.md b/pages/common/pre-commit.md index 85e7334b43..0136bd16f8 100644 --- a/pages/common/pre-commit.md +++ b/pages/common/pre-commit.md @@ -19,6 +19,6 @@ `pre-commit clean` -- Update pre-commit config file to the latest repos' versions: +- Update pre-commit configuration file to the latest repos' versions: `pre-commit autoupdate` diff --git a/pages/common/psql.md b/pages/common/psql.md index 77803cde63..2ea7b97d01 100644 --- a/pages/common/psql.md +++ b/pages/common/psql.md @@ -1,6 +1,6 @@ # psql -> PostgreSQL command-line client. +> PostgreSQL client. > More information: . - Connect to the database. By default, it connects to the local socket using port 5432 with the currently logged in user: diff --git a/pages/common/pulumi-org.md b/pages/common/pulumi-org.md new file mode 100644 index 0000000000..8c5b7716d9 --- /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/pup.md b/pages/common/pup.md index 49c3d5f2b4..ffc31c97fe 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: diff --git a/pages/common/pwqgen.md b/pages/common/pwqgen.md new file mode 100644 index 0000000000..f9f602ed25 --- /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 index ed94ee8cb3..ba8bd2dde6 100644 --- a/pages/common/pwsh.md +++ b/pages/common/pwsh.md @@ -1,6 +1,6 @@ # pwsh -> Command-line shell and scripting language designed especially for system administration. +> 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: . diff --git a/pages/common/qalc.md b/pages/common/qalc.md index d4af2e8186..919f5ba8b3 100644 --- a/pages/common/qalc.md +++ b/pages/common/qalc.md @@ -1,6 +1,6 @@ # qalc -> Powerful and easy to use command-line calculator. +> Powerful and easy to use calculator. > See also: `bc`. > More information: . diff --git a/pages/common/qemu-system-i386.md b/pages/common/qemu-system-i386.md new file mode 100644 index 0000000000..bd4273d491 --- /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-x86_64 {{[-M|-machine]}} help` diff --git a/pages/common/qemu-system-riscv64.md b/pages/common/qemu-system-riscv64.md new file mode 100644 index 0000000000..8b2317546e --- /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 0000000000..c0e8fcdf47 --- /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-i386 -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 cf133bb7aa..0000000000 --- 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/raco.md b/pages/common/raco.md index b8f634187f..a718875fdd 100644 --- a/pages/common/raco.md +++ b/pages/common/raco.md @@ -1,6 +1,6 @@ # raco -> Racket command-line tools. +> Racket tools. > More information: . - Install a package, automatically installing dependencies: diff --git a/pages/common/rage.md b/pages/common/rage.md index a05c0d0f71..3bc626dab0 100644 --- a/pages/common/rage.md +++ b/pages/common/rage.md @@ -1,6 +1,6 @@ # rage -> A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability. +> 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: . diff --git a/pages/common/rbt.md b/pages/common/rbt.md index 8a617f1321..84acbbc651 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/react-native-start.md b/pages/common/react-native-start.md index 71894b96a8..27e9f3e8a0 100644 --- a/pages/common/react-native-start.md +++ b/pages/common/react-native-start.md @@ -1,6 +1,6 @@ # react-native start -> Command-line tools to start the React Native server. +> Start the React Native server. > More information: . - Start the server that communicates with connected devices: diff --git a/pages/common/rnano.md b/pages/common/rnano.md new file mode 100644 index 0000000000..06f61efd5d --- /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/satis.md b/pages/common/satis.md index 1bdb9d1f62..d92763bf3f 100644 --- a/pages/common/satis.md +++ b/pages/common/satis.md @@ -1,6 +1,6 @@ # satis -> The command-line utility for the Satis static Composer repository. +> The utility for the Satis static Composer repository. > More information: . - Initialize a Satis configuration: diff --git a/pages/common/scan-build.md b/pages/common/scan-build.md index f00828d878..e6f45bd1e5 100644 --- a/pages/common/scan-build.md +++ b/pages/common/scan-build.md @@ -1,6 +1,6 @@ # scan-build -> Command-line utility to run a static analyzer over a codebase as part of performing a regular 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: diff --git a/pages/common/sdcv.md b/pages/common/sdcv.md index b72a31518a..76d813b67c 100644 --- a/pages/common/sdcv.md +++ b/pages/common/sdcv.md @@ -1,6 +1,6 @@ # sdcv -> StarDict, a command-line dictionary client. +> StarDict, a dictionary client. > Dictionaries are provided separately from the client. > More information: . diff --git a/pages/common/secrethub.md b/pages/common/secrethub.md index a07d05ec54..34dadf0db6 100644 --- a/pages/common/secrethub.md +++ b/pages/common/secrethub.md @@ -1,6 +1,6 @@ # secrethub -> Keep secrets out of config files. +> Keep secrets out of configuration files. > More information: . - Print a secret to `stdout`: diff --git a/pages/common/sgpt.md b/pages/common/sgpt.md index 91e7aeb41c..7ac6ebca7c 100644 --- a/pages/common/sgpt.md +++ b/pages/common/sgpt.md @@ -1,6 +1,6 @@ # sgpt -> Command-line productivity tool powered by OpenAI's GPT models. +> Productivity tool powered by OpenAI's GPT models. > More information: . - Use it as a search engine, asking for the mass of the sun: diff --git a/pages/common/snowsql.md b/pages/common/snowsql.md index e317357242..e736a63e4c 100644 --- a/pages/common/snowsql.md +++ b/pages/common/snowsql.md @@ -1,6 +1,6 @@ # snowsql -> SnowSQL command-line client for Snowflake's Data Cloud. +> SnowSQL client for Snowflake's Data Cloud. > More information: . - Connect to a specific instance at (password can be provided in prompt or configuration file): diff --git a/pages/common/spark.md b/pages/common/spark.md index 3c3799f093..30f91b4603 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: diff --git a/pages/common/sqlite-utils.md b/pages/common/sqlite-utils.md index 0b98bfa7be..1da7d0789b 100644 --- a/pages/common/sqlite-utils.md +++ b/pages/common/sqlite-utils.md @@ -1,6 +1,6 @@ # sqlite-utils -> Command-line tool used to manipulate SQLite databases in a number of different ways. +> Manipulate SQLite databases in a number of different ways. > More information: . - Create a database: diff --git a/pages/common/sqlite3.md b/pages/common/sqlite3.md index bfda5a6cb3..2ebbd19ceb 100644 --- a/pages/common/sqlite3.md +++ b/pages/common/sqlite3.md @@ -1,6 +1,6 @@ # sqlite3 -> The command-line interface to SQLite 3, which is a self-contained file-based embedded SQL engine. +> 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/sqlx.md b/pages/common/sqlx.md index 561db193e5..4e436fdd58 100644 --- a/pages/common/sqlx.md +++ b/pages/common/sqlx.md @@ -1,6 +1,6 @@ # sqlx -> Command-line utility for SQLx, the Rust SQL toolkit. +> Utility for SQLx, the Rust SQL toolkit. > More information: . - Create the database specified in the DATABASE_URL environment variable: diff --git a/pages/common/sqsc.md b/pages/common/sqsc.md index cffda309e9..72f5ca5f12 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: diff --git a/pages/common/step.md b/pages/common/step.md index b8846f4cdf..c0d80795fd 100644 --- a/pages/common/step.md +++ b/pages/common/step.md @@ -32,6 +32,6 @@ `step crypto keypair {{path/to/public_key}} {{path/to/private_key}} --kty {{RSA|EC}}` -- Show help for subcommands: +- Display help for subcommands: `step {{path|base64|certificate|completion|context|crl|crypto|oauth|ca|beta|ssh}} --help` diff --git a/pages/common/supervisorctl.md b/pages/common/supervisorctl.md index 1adadb544c..bba1ce1317 100644 --- a/pages/common/supervisorctl.md +++ b/pages/common/supervisorctl.md @@ -1,6 +1,6 @@ # 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: . diff --git a/pages/common/svn.md b/pages/common/svn.md index f1c420e87d..94289ab384 100644 --- a/pages/common/svn.md +++ b/pages/common/svn.md @@ -1,6 +1,6 @@ # svn -> Subversion command-line client tool. +> Subversion client tool. > More information: . - Check out a working copy from a repository: diff --git a/pages/common/task.md b/pages/common/task.md index 5983ea46d5..845abbe623 100644 --- a/pages/common/task.md +++ b/pages/common/task.md @@ -1,6 +1,6 @@ # task -> Command-line to-do list manager. +> To-do list manager. > More information: . - Add a new task which is due tomorrow: diff --git a/pages/common/termdown.md b/pages/common/termdown.md index 8c3048fa2e..3b5556d3f2 100644 --- a/pages/common/termdown.md +++ b/pages/common/termdown.md @@ -1,6 +1,6 @@ # termdown -> Countdown timer and stopwatch for the command-line. +> Countdown timer and stopwatch. > More information: . - Start a stopwatch: diff --git a/pages/common/timetrap.md b/pages/common/timetrap.md index 572a26cc9f..e5e8bee690 100644 --- a/pages/common/timetrap.md +++ b/pages/common/timetrap.md @@ -1,6 +1,6 @@ # timetrap -> Simple command-line time tracker written in Ruby. +> Simple time tracker written in Ruby. > More information: . - Create a new timesheet: diff --git a/pages/common/tmsu.md b/pages/common/tmsu.md index 00a40a16cd..e67858b256 100644 --- a/pages/common/tmsu.md +++ b/pages/common/tmsu.md @@ -1,6 +1,6 @@ # tmsu -> Simple command-line tool for tagging files. +> Simple tool for tagging files. > More information: . - Tag a specific file with multiple tags: diff --git a/pages/common/trans.md b/pages/common/trans.md index 699b55d7ae..d5bc33cc69 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): diff --git a/pages/common/transfersh.md b/pages/common/transfersh.md index 4f8b5582e4..77024957e1 100644 --- a/pages/common/transfersh.md +++ b/pages/common/transfersh.md @@ -1,6 +1,6 @@ # transfersh -> An unofficial command-line client for transfer.sh. +> An unofficial client for transfer.sh. > More information: . - Upload a file to transfer.sh: diff --git a/pages/common/travis.md b/pages/common/travis.md index 1266633f52..cd3f0840da 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/trufflehog.md b/pages/common/trufflehog.md index 69670bc064..8e0de40f15 100644 --- a/pages/common/trufflehog.md +++ b/pages/common/trufflehog.md @@ -9,7 +9,7 @@ - Scan a GitHub organization for verified secrets: -`trufflehog github --org={{trufflesecurity}} --only-verified` +`trufflehog github --org {{trufflesecurity}} --only-verified` - Scan a GitHub repository for verified keys and get JSON output: @@ -17,15 +17,15 @@ - Scan a GitHub repository along with its Issues and Pull Requests: -`trufflehog github --repo={{https://github.com/trufflesecurity/test_keys}} --issue-comments --pr-comments` +`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` +`trufflehog s3 --bucket {{bucket name}} --only-verified` - Scan S3 buckets using IAM Roles: -`trufflehog s3 --role-arn={{iam-role-arn}}` +`trufflehog s3 --role-arn {{iam-role-arn}}` - Scan individual files or directories: diff --git a/pages/common/ts-node.md b/pages/common/ts-node.md index a755ee7b9a..33423b2d43 100644 --- a/pages/common/ts-node.md +++ b/pages/common/ts-node.md @@ -23,6 +23,6 @@ `ts-node --transpile-only {{path/to/file.ts}}` -- Display TS-Node help: +- Display help: `ts-node --help` diff --git a/pages/common/upx.md b/pages/common/upx.md index 97d5e922e4..2c745a6583 100644 --- a/pages/common/upx.md +++ b/pages/common/upx.md @@ -11,6 +11,6 @@ `upx -d {{path/to/file}}` -- Detailed help: +- Display help: `upx --help` diff --git a/pages/common/usleep.md b/pages/common/usleep.md new file mode 100644 index 0000000000..a1b33263f5 --- /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/uv-build.md b/pages/common/uv-build.md new file mode 100644 index 0000000000..fd237f933b --- /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 0000000000..ce19f344c9 --- /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 0000000000..d29ca4c533 --- /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-publish.md b/pages/common/uv-publish.md new file mode 100644 index 0000000000..c6e9be0056 --- /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-self.md b/pages/common/uv-self.md new file mode 100644 index 0000000000..447d83ccc7 --- /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/vegeta.md b/pages/common/vegeta.md index 6212d309c7..3ab7b9ac5c 100644 --- a/pages/common/vegeta.md +++ b/pages/common/vegeta.md @@ -1,6 +1,6 @@ # vegeta -> A command-line utility and a library for HTTP load testing. +> A utility and a library for HTTP load testing. > See also `ab`. > More information: . diff --git a/pages/common/vela.md b/pages/common/vela.md index ea39a56316..286a74053e 100644 --- a/pages/common/vela.md +++ b/pages/common/vela.md @@ -1,6 +1,6 @@ # vela -> Command-line tools for the Vela pipeline. +> Tools for the Vela pipeline. > More information: . - Trigger a pipeline to run from a Git branch, commit or tag: diff --git a/pages/common/vim.md b/pages/common/vim.md index 5d24377186..8f00b4538b 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -2,7 +2,7 @@ > Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation. > 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`. +> See also: `vimdiff`, `vimtutor`, `nvim`, `gvim`. > More information: . - Open a file: diff --git a/pages/common/vt.md b/pages/common/vt.md index 5291ce9014..9d47ddb39b 100644 --- a/pages/common/vt.md +++ b/pages/common/vt.md @@ -1,6 +1,6 @@ # vt -> Command-line interface for VirusTotal. +> Interface for VirusTotal. > API key from a VirusTotal account is required for this command. > More information: . diff --git a/pages/common/web-ext.md b/pages/common/web-ext.md index deeeb0d6f2..e39a82448e 100644 --- a/pages/common/web-ext.md +++ b/pages/common/web-ext.md @@ -1,6 +1,6 @@ # web-ext -> A command-line tool for managing web extension development. +> Manage web extension development. > More information: . - Run the web extension in the current directory in Firefox: diff --git a/pages/common/webtorrent.md b/pages/common/webtorrent.md index b56412352b..e34e02c255 100644 --- a/pages/common/webtorrent.md +++ b/pages/common/webtorrent.md @@ -1,6 +1,6 @@ # webtorrent -> The command-line interface for WebTorrent. +> The interface for WebTorrent. > Supports magnets, URLs, info hashes and `.torrent` files. > More information: . diff --git a/pages/common/weechat.md b/pages/common/weechat.md index 6b52076b7e..b441d6e6cc 100644 --- a/pages/common/weechat.md +++ b/pages/common/weechat.md @@ -1,6 +1,6 @@ # weechat -> Command-line internet relay chat client with various features. +> Internet relay chat client with various features. > More information: . - Start WeeChat: diff --git a/pages/common/whois.md b/pages/common/whois.md index b5fc55e211..1f94f00a25 100644 --- a/pages/common/whois.md +++ b/pages/common/whois.md @@ -1,6 +1,6 @@ # whois -> Command-line client for the WHOIS (RFC 3912) protocol. +> Client for the WHOIS (RFC 3912) protocol. > More information: . - Get information about a domain name: diff --git a/pages/common/wikit.md b/pages/common/wikit.md index 8d9dacb94a..34e3d3ab94 100644 --- a/pages/common/wikit.md +++ b/pages/common/wikit.md @@ -1,6 +1,6 @@ # wikit -> A command-line program for getting Wikipedia summaries easily. +> Easily get Wikipedia summaries. > More information: . - Show a short summary of a specific topic on Wikipedia: diff --git a/pages/common/wireplumber.md b/pages/common/wireplumber.md deleted file mode 100644 index b80052aaad..0000000000 --- a/pages/common/wireplumber.md +++ /dev/null @@ -1,21 +0,0 @@ -# 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: . - -- 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/common/wkhtmltopdf.md b/pages/common/wkhtmltopdf.md index 8cd965daf6..1b24698b1e 100644 --- a/pages/common/wkhtmltopdf.md +++ b/pages/common/wkhtmltopdf.md @@ -1,6 +1,6 @@ # wkhtmltopdf -> An open-source command-line tool to convert HTML documents or web pages into PDF files. +> Convert HTML documents or web pages into PDF files. > More information: . - Convert a HTML document into PDF: diff --git a/pages/common/wordgrinder.md b/pages/common/wordgrinder.md index e745d10680..60e70c741b 100644 --- a/pages/common/wordgrinder.md +++ b/pages/common/wordgrinder.md @@ -1,6 +1,6 @@ # wordgrinder -> Command-line word processor. +> Word processor. > More information: . - Start WordGrinder (loads a blank document by default): diff --git a/pages/common/wp.md b/pages/common/wp.md index aa019c5a3c..3d3e11fc85 100644 --- a/pages/common/wp.md +++ b/pages/common/wp.md @@ -1,6 +1,6 @@ # wp -> The official command-line interface to manage WordPress instances. +> The official interface to manage WordPress instances. > More information: . - Print information about the operating system, shell, PHP, and WP-CLI (`wp`) installation: diff --git a/pages/common/wrangler.md b/pages/common/wrangler.md index e8730170d4..9878c4a813 100644 --- a/pages/common/wrangler.md +++ b/pages/common/wrangler.md @@ -1,6 +1,6 @@ # wrangler -> Cloudflare Workers command-line tool. +> Cloudflare Workers tool. > More information: . - Initialize a project with a skeleton configuration: diff --git a/pages/common/xmlstarlet.md b/pages/common/xmlstarlet.md index 7654440858..43fb06a9bf 100644 --- a/pages/common/xmlstarlet.md +++ b/pages/common/xmlstarlet.md @@ -1,6 +1,6 @@ # xmlstarlet -> A command-line XML/XSLT toolkit. +> A XML/XSLT toolkit. > Note: You will likely need to know XPath: . > More information: . diff --git a/pages/common/xsv.md b/pages/common/xsv.md index c04c39d931..02ab5cb889 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: diff --git a/pages/common/yolo.md b/pages/common/yolo.md index a4c0005456..d267ff6cc4 100644 --- a/pages/common/yolo.md +++ b/pages/common/yolo.md @@ -1,6 +1,6 @@ # yolo -> The YOLO command-line interface lets you simply train, validate or infer models on various tasks and versions. +> Train, validate or infer models on various tasks and versions. > More information: . - Create a copy of the default configuration in your current working directory: diff --git a/pages/common/yq.md b/pages/common/yq.md index 2268e630b9..dfa5c7daa3 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+): diff --git a/pages/common/yt-dlp.md b/pages/common/yt-dlp.md index 49df55fe91..8d26e87977 100644 --- a/pages/common/yt-dlp.md +++ b/pages/common/yt-dlp.md @@ -2,7 +2,7 @@ > A youtube-dl fork with additional features and fixes. > Download videos from YouTube and other websites. -> See also: `yt-dlp`, `ytfzf`. +> See also: `ytfzf`. > More information: . - Download a video or playlist (with the default options from command below): diff --git a/pages/common/zdb.md b/pages/common/zdb.md index 163f7e9468..94ca630130 100644 --- a/pages/common/zdb.md +++ b/pages/common/zdb.md @@ -9,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/linux/a2disconf.md b/pages/linux/a2disconf.md index fd6d96e43d..9770e13498 100644 --- a/pages/linux/a2disconf.md +++ b/pages/linux/a2disconf.md @@ -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 cd548ced7b..b106c463e2 100644 --- a/pages/linux/a2dismod.md +++ b/pages/linux/a2dismod.md @@ -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 23a8d0d430..cd3b7243b4 100644 --- a/pages/linux/a2dissite.md +++ b/pages/linux/a2dissite.md @@ -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 6906bc96ef..c8b4ece3b8 100644 --- a/pages/linux/a2enconf.md +++ b/pages/linux/a2enconf.md @@ -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 199c30c731..d59dea2b99 100644 --- a/pages/linux/a2enmod.md +++ b/pages/linux/a2enmod.md @@ -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 f55893c999..8554a13676 100644 --- a/pages/linux/a2ensite.md +++ b/pages/linux/a2ensite.md @@ -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/aa-complain.md b/pages/linux/aa-complain.md index cc0e0ed5e1..21f734f551 100644 --- a/pages/linux/aa-complain.md +++ b/pages/linux/aa-complain.md @@ -10,4 +10,4 @@ - Set policies to complain mode: -`sudo aa-complain --dir {{path/to/profiles}}` +`sudo aa-complain {{[-d|--dir]}} {{path/to/profiles}}` diff --git a/pages/linux/aa-enforce.md b/pages/linux/aa-enforce.md index 314aeb1a7f..0aec96a8e5 100644 --- a/pages/linux/aa-enforce.md +++ b/pages/linux/aa-enforce.md @@ -6,7 +6,7 @@ - Enable profile: -`sudo aa-enforce --dir {{path/to/profile}}` +`sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}` - Enable profiles: diff --git a/pages/linux/abroot.md b/pages/linux/abroot.md index 724b27630f..ba4542017a 100644 --- a/pages/linux/abroot.md +++ b/pages/linux/abroot.md @@ -34,4 +34,4 @@ - Display help: -`abroot --help` +`abroot {{[-h|--help]}}` diff --git a/pages/linux/add-apt-repository.md b/pages/linux/add-apt-repository.md index f791ffee0c..151b6c6615 100644 --- a/pages/linux/add-apt-repository.md +++ b/pages/linux/add-apt-repository.md @@ -1,7 +1,7 @@ # add-apt-repository > Manage `apt` repository definitions. -> More information: . +> More information: . - Add a new `apt` repository: @@ -9,7 +9,7 @@ - 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: @@ -17,4 +17,4 @@ - 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/aide.md b/pages/linux/aide.md new file mode 100644 index 0000000000..6a852809b9 --- /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 index 17eba0e2a9..a895b4bb0b 100644 --- a/pages/linux/alien.md +++ b/pages/linux/alien.md @@ -6,16 +6,16 @@ - Convert a specific installation file to Debian format (`.deb` extension): -`sudo alien --to-deb {{path/to/file}}` +`sudo alien {{[-d|--to-deb]}} {{path/to/file}}` - Convert a specific installation file to Red Hat format (`.rpm` extension): -`sudo alien --to-rpm {{path/to/file}}` +`sudo alien {{[-r|--to-rpm]}} {{path/to/file}}` - Convert a specific installation file to a Slackware installation file (`.tgz` extension): -`sudo alien --to-tgz {{path/to/file}}` +`sudo alien {{[-t|--to-tgz]}} {{path/to/file}}` - Convert a specific installation file to Debian format and install on the system: -`sudo alien --to-deb --install {{path/to/file}}` +`sudo alien {{[-d|--to-deb]}} {{[-i|--install]}} {{path/to/file}}` diff --git a/pages/linux/alpine.md b/pages/linux/alpine.md index ddd527b047..ef770ed2e5 100644 --- a/pages/linux/alpine.md +++ b/pages/linux/alpine.md @@ -14,4 +14,4 @@ - Quit alpine: -`q + y` +`` diff --git a/pages/linux/apt-add-repository.md b/pages/linux/apt-add-repository.md index 4f2b684c81..e399cf881f 100644 --- a/pages/linux/apt-add-repository.md +++ b/pages/linux/apt-add-repository.md @@ -1,20 +1,7 @@ # apt-add-repository -> Manage `apt` repository definitions. -> More information: . +> 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 {{[-r|--remove]}} {{repository_spec}}` - -- Update the package cache after adding a repository: - -`apt-add-repository --update {{repository_spec}}` - -- Enable source packages: - -`apt-add-repository {{[-s|--enable-source]}} {{repository_spec}}` +`tldr add-apt-repository` diff --git a/pages/linux/apt.md b/pages/linux/apt.md index 64c28b56f9..f5cd78e6aa 100644 --- a/pages/linux/apt.md +++ b/pages/linux/apt.md @@ -1,38 +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 (use `apt search --name-only package` to search within package name only): +- 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 {{[-i|--installed]}}` diff --git a/pages/linux/ark.md b/pages/linux/ark.md index 5d582e4c1c..2787f8c16d 100644 --- a/pages/linux/ark.md +++ b/pages/linux/ark.md @@ -5,12 +5,12 @@ - Extract a specific archive into the current directory: -`ark --batch {{path/to/archive}}` +`ark {{[-b|--batch]}} {{path/to/archive}}` - Extract an archive into a specific directory: -`ark --batch --destination {{path/to/directory}} {{path/to/archive}}` +`ark {{[-b|--batch]}} {{[-o|--destination]}} {{path/to/directory}} {{path/to/archive}}` - Create an archive if it does not exist and add specific files to it: -`ark --add-to {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}` +`ark {{[-t|--add-to]}} {{path/to/archive}} {{path/to/file1 path/to/file2 ...}}` diff --git a/pages/linux/auracle.md b/pages/linux/auracle.md index 96bc8cdd7c..0850134ec7 100644 --- a/pages/linux/auracle.md +++ b/pages/linux/auracle.md @@ -1,6 +1,6 @@ # 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: diff --git a/pages/linux/aurman.md b/pages/linux/aurman.md index 6dc4ba48dc..1196f4ddf0 100644 --- a/pages/linux/aurman.md +++ b/pages/linux/aurman.md @@ -6,27 +6,27 @@ - Synchronize and update all packages: -`aurman --sync --refresh --sysupgrade` +`aurman {{[-S|--sync]}} {{[-y|--refresh]}} {{[-u|--sysupgrade]}}` - Synchronize and update all packages without show changes of `PKGBUILD` files: -`aurman --sync --refresh --sysupgrade --noedit` +`aurman {{[-S|--sync]}} {{[-y|--refresh]}} {{[-u|--sysupgrade]}} --noedit` - Install a new package: -`aurman --sync {{package}}` +`aurman {{[-S|--sync]}} {{package}}` - Install a new package without show changes of `PKGBUILD` files: -`aurman --sync --noedit {{package}}` +`aurman {{[-S|--sync]}} --noedit {{package}}` - Install a new package without prompting: -`aurman --sync --noedit --noconfirm {{package}}` +`aurman {{[-S|--sync]}} --noedit --noconfirm {{package}}` - Search the package database for a keyword from the official repositories and AUR: -`aurman --sync --search {{keyword}}` +`aurman {{[-S|--sync]}} {{[-s|--search]}} {{keyword}}` - Remove a package and its dependencies: @@ -34,4 +34,4 @@ - Clear the package cache (use two `--clean` flags to clean all packages): -`aurman --sync --clean` +`aurman {{[-S|--sync]}} {{[-c|--clean]}}` diff --git a/pages/linux/aurvote.md b/pages/linux/aurvote.md index c81a3f692e..f57eb37d8a 100644 --- a/pages/linux/aurvote.md +++ b/pages/linux/aurvote.md @@ -14,12 +14,12 @@ - Unvote one or more AUR packages: -`aurvote --unvote {{package1 package2 ...}}` +`aurvote {{[-u|--unvote]}} {{package1 package2 ...}}` - Check if one or more AUR packages have already been voted: -`aurvote --check {{package1 package2 ...}}` +`aurvote {{[-c|--check]}} {{package1 package2 ...}}` - Display help: -`aurvote --help` +`aurvote {{[-h|--help]}}` diff --git a/pages/linux/autorandr.md b/pages/linux/autorandr.md index ee604e41b0..1f28e27237 100644 --- a/pages/linux/autorandr.md +++ b/pages/linux/autorandr.md @@ -1,11 +1,11 @@ # autorandr > Automatically change screen layout. -> More information: . +> More information: . - Save the current screen layout: -`autorandr --save {{profile_name}}` +`autorandr {{[-s|--save]}} {{profile_name}}` - Show the saved profiles: @@ -13,12 +13,12 @@ - Load the first detected profile: -`autorandr --change` +`autorandr {{[-c|--change]}}` - Load a specific profile: -`autorandr --load {{profile_name}}` +`autorandr {{[-l|--load]}} {{profile_name}}` - Set the default profile: -`autorandr --default {{profile_name}}` +`autorandr {{[-d|--default]}} {{profile_name}}` diff --git a/pages/linux/away.md b/pages/linux/away.md new file mode 100644 index 0000000000..0099074a78 --- /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/balooctl.md b/pages/linux/balooctl.md index 307c21a19e..221385126e 100644 --- a/pages/linux/balooctl.md +++ b/pages/linux/balooctl.md @@ -33,4 +33,4 @@ - Display help: -`balooctl --help` +`balooctl {{[-h|--help]}}` diff --git a/pages/linux/bcachefs.md b/pages/linux/bcachefs.md index af39bffdd3..51b803d4e9 100644 --- a/pages/linux/bcachefs.md +++ b/pages/linux/bcachefs.md @@ -14,7 +14,7 @@ - Create a RAID 0 filesystem where an SSD acts as a cache and an HDD acts as a long-term storage: -`sudo bcachefs format --label=ssd.ssd1 {{path/to/ssd/partition}} --label=hdd.hdd1 {{path/to/hdd/partition}} --replicas=1 --foreground_target=ssd --promote_target=ssd --background_target=hdd` +`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: @@ -22,11 +22,11 @@ - Display disk usage: -`bcachefs fs usage --human-readable {{path/to/mountpoint}}` +`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}}` +`sudo bcachefs set-fs-option --metadata_replicas {{2}} --data_replicas {{2}} {{path/to/partition}}` - Force `bcachefs` to ensure all files are replicated: diff --git a/pages/linux/bchunk.md b/pages/linux/bchunk.md index 0e37a13016..a2c35ad308 100644 --- a/pages/linux/bchunk.md +++ b/pages/linux/bchunk.md @@ -1,7 +1,7 @@ # bchunk > Convert CD images to a set of `.iso` and `.cdr` tracks. -> More information: . +> More information: . - Convert binary CD into a standard iso9960 image file: diff --git a/pages/linux/betterdiscordctl.md b/pages/linux/betterdiscordctl.md index 69089d07d0..b4c4ad495c 100644 --- a/pages/linux/betterdiscordctl.md +++ b/pages/linux/betterdiscordctl.md @@ -9,16 +9,16 @@ - Install BetterDiscord on Discord Canary: -`sudo betterdiscordctl --d-flavors canary install` +`sudo betterdiscordctl {{[-f|--d-flavors]}} canary install` - Install BetterDiscord on Discord PTB: -`sudo betterdiscordctl --d-flavors ptb install` +`sudo betterdiscordctl {{[-f|--d-flavors]}} ptb install` - Install BetterDiscord on Discord installed with Flatpak: -`sudo betterdiscordctl --d-install flatpak install` +`sudo betterdiscordctl {{[-i|--d-install]}} flatpak install` - Install BetterDiscord on Discord installed with Snap: -`sudo betterdiscordctl --d-install snap install` +`sudo betterdiscordctl {{[-i|--d-install]}} snap install` diff --git a/pages/linux/bleachbit.md b/pages/linux/bleachbit.md index d5a09c4ebd..48cb960261 100644 --- a/pages/linux/bleachbit.md +++ b/pages/linux/bleachbit.md @@ -9,16 +9,16 @@ - Shred a file: -`bleachbit --shred {{path/to/file}}` +`bleachbit {{[-s|--shred]}} {{path/to/file}}` - List available cleaner options: -`bleachbit --list-cleaners` +`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 --preview {{--preset|cleaner1.option1 cleaner2.* ...}}` +`bleachbit {{[-p|--preview]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` - Perform the clean-up operation and delete files: -`bleachbit --clean {{--preset|cleaner1.option1 cleaner2.* ...}}` +`bleachbit {{[-c|--clean]}} --preset {{cleaner1.option1 cleaner2.option2 ...}}` diff --git a/pages/linux/bluebuild.md b/pages/linux/bluebuild.md index 919f3700c4..9769dc95a7 100644 --- a/pages/linux/bluebuild.md +++ b/pages/linux/bluebuild.md @@ -13,7 +13,7 @@ - Generate a Containerfile: -`bluebuild generate --output {{Containerfile}} {{path/to/recipe.yml}}` +`bluebuild generate {{[-o|--output]}} {{Containerfile}} {{path/to/recipe.yml}}` - Generate an ISO from a recipe: @@ -21,4 +21,4 @@ - Display help: -`bluebuild --help` +`bluebuild {{[-h|--help]}}` diff --git a/pages/linux/bluetoothd.md b/pages/linux/bluetoothd.md index 0502589892..33d320e7a6 100644 --- a/pages/linux/bluetoothd.md +++ b/pages/linux/bluetoothd.md @@ -9,16 +9,16 @@ - Start the daemon, logging to `stdout`: -`bluetoothd --nodetach` +`bluetoothd {{[-n|--nodetach]}}` - Start the daemon with a specific configuration file (defaults to `/etc/bluetooth/main.conf`): -`bluetoothd --configfile {{path/to/file}}` +`bluetoothd {{[-f|--configfile]}} {{path/to/file}}` - Start the daemon with verbose output to `stderr`: -`bluetoothd --debug` +`bluetoothd {{[-d|--debug]}}` - Start the daemon with verbose output coming from specific files in the bluetoothd or plugins source: -`bluetoothd --debug={{path/to/file1:path/to/file2:...}}` +`bluetoothd {{[-d|--debug=]}}{{path/to/file1:path/to/file2:...}}` diff --git a/pages/linux/br.md b/pages/linux/br.md index 93e39fcd3d..8cebe6fd32 100644 --- a/pages/linux/br.md +++ b/pages/linux/br.md @@ -10,16 +10,16 @@ - Start displaying the size of files and directories: -`br --sizes` +`br {{[-s|--sizes]}}` - Start displaying permissions: -`br --permissions` +`br {{[-p|--permissions]}}` - Start displaying directories only: -`br --only-folders` +`br {{[-f|--only-folders]}}` - Start displaying hidden files and directories: -`br --hidden` +`br {{[-h|--hidden]}}` diff --git a/pages/linux/brightnessctl.md b/pages/linux/brightnessctl.md index ae20c8d57b..3f8d568b14 100644 --- a/pages/linux/brightnessctl.md +++ b/pages/linux/brightnessctl.md @@ -1,11 +1,11 @@ # brightnessctl > Utility for reading and controlling device brightness for Linux operating systems. -> More information: . +> More information: . - List devices with changeable brightness: -`brightnessctl --list` +`brightnessctl {{[-l|--list]}}` - Print the current brightness of the display backlight: diff --git a/pages/linux/bspc.md b/pages/linux/bspc.md index 20c6d70da5..83acde08d2 100644 --- a/pages/linux/bspc.md +++ b/pages/linux/bspc.md @@ -6,23 +6,23 @@ - Define two virtual desktops: -`bspc monitor --reset-desktops {{desktop_name1}} {{desktop_name2}}` +`bspc monitor {{[-d|--reset-desktops]}} {{desktop_name1}} {{desktop_name2}}` - Focus the given desktop: -`bspc desktop --focus {{number}}` +`bspc desktop {{[-f|--focus]}} {{number}}` - Close the windows rooted at the selected node: -`bspc node --close` +`bspc node {{[-c|--close]}}` - Send the selected node to the given desktop: -`bspc node --to-desktop {{number}}` +`bspc node {{[-d|--to-desktop]}} {{number}}` - Toggle full screen mode for the selected node: -`bspc node --state ~fullscreen` +`bspc node {{[-t|--state]}} ~fullscreen` - Set the value of a specific setting: diff --git a/pages/linux/btrbk.md b/pages/linux/btrbk.md index 900151eae4..8ce9c713ae 100644 --- a/pages/linux/btrbk.md +++ b/pages/linux/btrbk.md @@ -13,11 +13,11 @@ - Print what would happen in a run without making the displayed changes: -`sudo btrbk --verbose dryrun` +`sudo btrbk {{[-v|--verbose]}} dryrun` - Run backup routines verbosely, show progress bar: -`sudo btrbk --progress --verbose run` +`sudo btrbk --progress {{[-v|--verbose]}} run` - Only create snapshots for configured subvolumes: diff --git a/pages/linux/btrfs-balance.md b/pages/linux/btrfs-balance.md index f4d87f58a5..7207701f13 100644 --- a/pages/linux/btrfs-balance.md +++ b/pages/linux/btrfs-balance.md @@ -13,7 +13,7 @@ - Balance data block groups which are less than 15% utilized, running the operation in the background: -`sudo btrfs balance start --bg -dusage={{15}} {{path/to/btrfs_filesystem}}` +`sudo btrfs 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`): diff --git a/pages/linux/btrfs-subvolume.md b/pages/linux/btrfs-subvolume.md index 57bf3aeae8..a6727a8567 100644 --- a/pages/linux/btrfs-subvolume.md +++ b/pages/linux/btrfs-subvolume.md @@ -15,7 +15,7 @@ `sudo btrfs subvolume 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}}` diff --git a/pages/linux/btrfs-version.md b/pages/linux/btrfs-version.md index 28278435e7..da5499c2ce 100644 --- a/pages/linux/btrfs-version.md +++ b/pages/linux/btrfs-version.md @@ -7,6 +7,6 @@ `btrfs version --help` -- Display btrfs-progs version: +- Display version: `btrfs version` diff --git a/pages/linux/bully.md b/pages/linux/bully.md index dce54a6ff6..01cd39376f 100644 --- a/pages/linux/bully.md +++ b/pages/linux/bully.md @@ -6,8 +6,8 @@ - Crack the password: -`bully --bssid "{{mac}}" --channel "{{channel}}" --bruteforce "{{interface}}"` +`bully {{[-b|--bssid]}} "{{mac}}" {{[-c|--channel]}} "{{channel}}" {{[-B|--bruteforce]}} "{{interface}}"` - Display help: -`bully --help` +`bully {{[-h|--help]}}` diff --git a/pages/linux/byzanz-record.md b/pages/linux/byzanz-record.md index 43a66fead5..64f0aaf3ee 100644 --- a/pages/linux/byzanz-record.md +++ b/pages/linux/byzanz-record.md @@ -9,11 +9,11 @@ - Show information while and after recording: -`byzanz-record --verbose {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` +`byzanz-record {{[-v|--verbose]}} {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` - Record the screen for a minute: -`byzanz-record --duration 60 {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` +`byzanz-record {{[-d|--duration]}} 60 {{path/to/file.[byzanz|flv|gif|ogg|ogv|webm]}}` - Delay recording for 10 seconds: diff --git a/pages/linux/caffeine.md b/pages/linux/caffeine.md index 5fb305c398..f6ba2ee6fe 100644 --- a/pages/linux/caffeine.md +++ b/pages/linux/caffeine.md @@ -9,8 +9,8 @@ - Display help: -`caffeine --help` +`caffeine {{[-h|--help]}}` - Display version: -`caffeine --version` +`caffeine {{[-V|--version]}}` diff --git a/pages/linux/caja.md b/pages/linux/caja.md index 0ad032b179..22eb7f61b6 100644 --- a/pages/linux/caja.md +++ b/pages/linux/caja.md @@ -14,12 +14,12 @@ - Open specific directories in tabs: -`caja --tabs {{path/to/directory1 path/to/directory2 ...}}` +`caja {{[-t|--tabs]}} {{path/to/directory1 path/to/directory2 ...}}` - Open a directory with a specific window size: -`caja --geometry={{600}}x{{400}} {{path/to/directory}}` +`caja {{[-g|--geometry]}} {{600}}x{{400}} {{path/to/directory}}` - Close all windows: -`caja --quit` +`caja {{[-q|--quit]}}` diff --git a/pages/linux/calcurse.md b/pages/linux/calcurse.md index 4727f3d244..9acf1f9170 100644 --- a/pages/linux/calcurse.md +++ b/pages/linux/calcurse.md @@ -1,7 +1,7 @@ # calcurse > A text-based calendar and scheduling application for the command-line. -> More information: . +> More information: . - Start `calcurse` on interactive mode: @@ -9,7 +9,7 @@ - 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 index 426f7d3614..1107d119f2 100644 --- a/pages/linux/caligula.md +++ b/pages/linux/caligula.md @@ -9,4 +9,4 @@ - Flash an ISO to a drive without entering the hash interactively: -`caligula burn {{path/to/image.iso}} {{[-s|--hash]}} {{hash}}` +`caligula burn {{path/to/image.iso}} {{[-s|--hash]}} {{hash}}` diff --git a/pages/linux/cbatticon.md b/pages/linux/cbatticon.md index 09fad11d54..71ded42f73 100644 --- a/pages/linux/cbatticon.md +++ b/pages/linux/cbatticon.md @@ -9,19 +9,19 @@ - Show the battery icon and set the update interval to 20 seconds: -`cbatticon --update-interval {{20}}` +`cbatticon {{[-u|--update-interval]}} {{20}}` - List available icon types: -`cbatticon --list-icon-types` +`cbatticon {{[-t|--list-icon-types]}}` - Show the battery icon with a specific icon type: -`cbatticon --icon-type {{standard|notification|symbolic}}` +`cbatticon {{[-i|--icon-type]}} {{standard|notification|symbolic}}` - List available power supplies: -`cbatticon --list-power-supplies` +`cbatticon {{[-p|--list-power-supplies]}}` - Show the battery icon for a specific battery: @@ -29,4 +29,4 @@ - Show the battery icon and which command to execute when the battery level reaches the set critical level: -`cbatticon --critical-level {{5}} --command-critical-level {{poweroff}}` +`cbatticon {{[-r|--critical-level]}} {{5}} {{[-c|--command-critical-level]}} {{poweroff}}` diff --git a/pages/linux/cgclassify.md b/pages/linux/cgclassify.md index 66cdfe2b56..9eba48df62 100644 --- a/pages/linux/cgclassify.md +++ b/pages/linux/cgclassify.md @@ -3,7 +3,7 @@ > Move running tasks to `cgroups`. > More information: . -- Move the process with a specific PID to the control group student in the CPU hierarchy: +- Move the process with a specific PID to the control [g]roup student in the CPU hierarchy: `cgclassify -g {{cpu:student}} {{1234}}` @@ -11,6 +11,6 @@ `cgclassify {{1234}}` -- Move the process with a specific PID to the control group 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`): +- 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 index 4dde315d12..1ee5c42474 100644 --- a/pages/linux/cgcreate.md +++ b/pages/linux/cgcreate.md @@ -4,11 +4,11 @@ > `cgroups` types can be `memory`, `cpu`, `net_cls`, etc. > More information: . -- Create a new group: +- Create a new [g]roup: `cgcreate -g {{group_type}}:{{group_name}}` -- Create a new group with multiple cgroup types: +- Create a new [g]roup with multiple cgroup types: `cgcreate -g {{group_type1}},{{group_type2}}:{{group_name}}` diff --git a/pages/linux/cgexec.md b/pages/linux/cgexec.md index 426fc91cf4..4f3d6edf66 100644 --- a/pages/linux/cgexec.md +++ b/pages/linux/cgexec.md @@ -4,6 +4,6 @@ > Multiple cgroup types (aka controllers) exist, such as `cpu`, `memory`, etc. > More information: . -- Execute a process in a given cgroup with given controller: +- Execute a process in a given c[g]roup with given controller: `cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}` diff --git a/pages/linux/chattr.md b/pages/linux/chattr.md index 889ae9abf5..32b55dad6c 100644 --- a/pages/linux/chattr.md +++ b/pages/linux/chattr.md @@ -3,7 +3,7 @@ > 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}}` @@ -11,7 +11,7 @@ `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}}` @@ -19,6 +19,6 @@ `chattr +F {{path/to/directory}}` -- Set a file to only allow appending: +- Set a file to only allow [a]ppending: `chattr +a {{path/to/file}}` diff --git a/pages/linux/check-dfsg-status.md b/pages/linux/check-dfsg-status.md index ee5004ee67..5433b53d21 100644 --- a/pages/linux/check-dfsg-status.md +++ b/pages/linux/check-dfsg-status.md @@ -2,7 +2,7 @@ > Report non-free packages installed on Debian-based OSes. > This command was formerly known as `vrms`. -> More information: . +> More information: . - List non-free and contrib packages (and their description): @@ -10,4 +10,4 @@ - Only output the package names: -`check-dfsg-status --sparse` +`check-dfsg-status {{[-s|--sparse]}}` diff --git a/pages/linux/check-language-support.md b/pages/linux/check-language-support.md index 74612fa3dc..eec8c04a31 100644 --- a/pages/linux/check-language-support.md +++ b/pages/linux/check-language-support.md @@ -9,7 +9,7 @@ - List packages for a specific locale: -`check-language-support --language {{en}}` +`check-language-support {{[-l|--language]}} {{en}}` - Display installed packages as well as missing ones: diff --git a/pages/linux/chntpw.md b/pages/linux/chntpw.md index 818d782273..25cafec807 100644 --- a/pages/linux/chntpw.md +++ b/pages/linux/chntpw.md @@ -2,7 +2,7 @@ > 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: . +> More information: . - List all users in the SAM file: diff --git a/pages/linux/cloud-init.md b/pages/linux/cloud-init.md index a591d86be1..323f8283f6 100644 --- a/pages/linux/cloud-init.md +++ b/pages/linux/cloud-init.md @@ -1,7 +1,7 @@ # cloud-init -> Command line tool for managing cloud instance initialization. -> More information: . +> Manage cloud instance initialization. +> More information: . - Display the status of the most recent cloud-init run: diff --git a/pages/linux/coredumpctl.md b/pages/linux/coredumpctl.md index e45622a1be..7c52f88424 100644 --- a/pages/linux/coredumpctl.md +++ b/pages/linux/coredumpctl.md @@ -25,8 +25,8 @@ - Extract the last core dump of a program to a file: -`coredumpctl --output {{path/to/file}} dump {{program}}` +`coredumpctl {{[-o|--output]}} {{path/to/file}} dump {{program}}` - Skip debuginfod and pagination prompts and then print the backtrace when using `gdb`: -`coredumpctl debug --debugger-arguments "-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"` +`coredumpctl debug {{[-A|--debugger-arguments]}} "-iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt"` diff --git a/pages/linux/cpulimit.md b/pages/linux/cpulimit.md index 834466d2e1..1224507aaa 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 argument1 argument2 ...}}` +`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/crond.md b/pages/linux/crond.md index 7b009acdcd..1d2a153b99 100644 --- a/pages/linux/crond.md +++ b/pages/linux/crond.md @@ -11,7 +11,7 @@ `crond -n` -- Send job output from the daemon to the system log: +- Send job output from the daemon to the [s]ystem log: `crond -s` diff --git a/pages/linux/cryptsetup-open.md b/pages/linux/cryptsetup-open.md index 0fb2bb5137..ebddc5d034 100644 --- a/pages/linux/cryptsetup-open.md +++ b/pages/linux/cryptsetup-open.md @@ -11,7 +11,7 @@ - Use a keyfile instead of a passphrase: -`cryptsetup open --key-file {{path/to/file}} {{/dev/sdXY}} {{mapping_name}}` +`cryptsetup open {{[-k|--key-file]}} {{path/to/file}} {{/dev/sdXY}} {{mapping_name}}` - Allow the use of TRIM on the device: @@ -23,4 +23,4 @@ - Open a LUKS volume and make the decrypted mapping read-only: -`cryptsetup open --readonly {{/dev/sdXY}} {{mapping_name}}` +`cryptsetup open {{[-r|--readonly]}} {{/dev/sdXY}} {{mapping_name}}` diff --git a/pages/linux/daemon.md b/pages/linux/daemon.md index 691a6aa9c2..be53c5dda5 100644 --- a/pages/linux/daemon.md +++ b/pages/linux/daemon.md @@ -1,7 +1,7 @@ # daemon -> Run processes into daemons. -> More information: . +> Turns other processes into daemons. +> More information: . - Run a command as a daemon: @@ -9,11 +9,11 @@ - Run a command as a daemon which will restart if the command crashes: -`daemon --name="{{name}}" --respawn {{command}}` +`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}}" --respawn --attempts=2 --delay=10 {{command}}` +`daemon --name="{{name}}" {{[-r|--respawn]}} --attempts=2 --delay=10 {{command}}` - Run a command as a daemon, writing logs to a specific file: diff --git a/pages/linux/dbus-daemon.md b/pages/linux/dbus-daemon.md index e2d2797533..9ab65e1960 100644 --- a/pages/linux/dbus-daemon.md +++ b/pages/linux/dbus-daemon.md @@ -1,7 +1,7 @@ # dbus-daemon > The D-Bus message daemon, allowing multiple programs to exchange messages. -> More information: . +> More information: . - Run the daemon with a configuration file: diff --git a/pages/linux/debchange.md b/pages/linux/debchange.md index 62de8d6be9..9a04d61032 100644 --- a/pages/linux/debchange.md +++ b/pages/linux/debchange.md @@ -1,15 +1,15 @@ # debchange -> Mantain the debian/changelog file of a Debian source package. +> 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 76b54dbcca..44748a3606 100644 --- a/pages/linux/debman.md +++ b/pages/linux/debman.md @@ -3,14 +3,14 @@ > Read man pages from uninstalled packages. > More information: . -- Read a man page for a command that is provided by a specified package: +- Read a man page for a command that is provided by a specified [p]ackage: `debman -p {{package}} {{command}}` -- Specify a package version to download: +- Specify a [p]ackage version to download: `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}}` diff --git a/pages/linux/deborphan.md b/pages/linux/deborphan.md index 44ef39d489..55188b89f4 100644 --- a/pages/linux/deborphan.md +++ b/pages/linux/deborphan.md @@ -13,4 +13,4 @@ - Find packages which are only recommended or suggested (but not required) by another package: -`deborphan --nice-mode` +`deborphan {{[-n|--nice-mode]}}` diff --git a/pages/linux/debtap.md b/pages/linux/debtap.md index c880cd01ef..f00e81aafa 100644 --- a/pages/linux/debtap.md +++ b/pages/linux/debtap.md @@ -6,7 +6,7 @@ - Update debtap database (before the first run): -`sudo debtap --update` +`sudo debtap {{[-u|--update]}}` - Convert the specified package: @@ -14,8 +14,8 @@ - Convert the specified package bypassing all questions, except for editing metadata files: -`debtap --quiet {{path/to/package.deb}}` +`debtap {{[-q|--quiet]}} {{path/to/package.deb}}` - Generate a PKGBUILD file: -`debtap --pkgbuild {{path/to/package.deb}}` +`debtap {{[-p|--pkgbuild]}} {{path/to/package.deb}}` diff --git a/pages/linux/dnf-config-manager.md b/pages/linux/dnf-config-manager.md index d2a910fcca..f6015e5dd5 100644 --- a/pages/linux/dnf-config-manager.md +++ b/pages/linux/dnf-config-manager.md @@ -13,11 +13,11 @@ - Enable a specific repository: -`dnf config-manager --set-enabled {{repository_id}}` +`dnf config-manager {{[--enable|--set-enabled]}} {{repository_id}}` - Disable specified repositories: -`dnf config-manager --set-disabled {{repository_id1 repository_id2 ...}}` +`dnf config-manager {{[--disable|--set-disabled]}} {{repository_id1 repository_id2 ...}}` - Set a configuration option for a repository: diff --git a/pages/linux/do-release-upgrade.md b/pages/linux/do-release-upgrade.md index 586c3f74db..7a5ea1a9a2 100644 --- a/pages/linux/do-release-upgrade.md +++ b/pages/linux/do-release-upgrade.md @@ -9,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 8d92e83344..2837355b0f 100644 --- a/pages/linux/dockerd.md +++ b/pages/linux/dockerd.md @@ -9,16 +9,16 @@ - 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 index cdbc47e1ed..cec4444e50 100644 --- a/pages/linux/dolphin.md +++ b/pages/linux/dolphin.md @@ -30,4 +30,4 @@ - Display help: -`dolphin --help` +`dolphin {{[-h|--help]}}` diff --git a/pages/linux/dracut.md b/pages/linux/dracut.md index e86a756e12..5162688434 100644 --- a/pages/linux/dracut.md +++ b/pages/linux/dracut.md @@ -2,7 +2,7 @@ > 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: . +> More information: . - Generate an initramfs image for the current kernel without overriding any options: @@ -10,7 +10,7 @@ - Generate an initramfs image for the current kernel and overwrite the existing one: -`dracut --force` +`dracut {{[-f|--force]}}` - Generate an initramfs image for a specific kernel: diff --git a/pages/linux/e2freefrag.md b/pages/linux/e2freefrag.md index 1a63982be5..9d0c38ec4d 100644 --- a/pages/linux/e2freefrag.md +++ b/pages/linux/e2freefrag.md @@ -7,6 +7,6 @@ `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 be05b19c25..64e8dd15a7 100644 --- a/pages/linux/e2fsck.md +++ b/pages/linux/e2fsck.md @@ -7,7 +7,7 @@ `sudo e2fsck {{/dev/sdXN}}` -- Check filesystem and automatically repair any damaged blocks: +- Check filesystem and automatically repair ([p]reen) any damaged blocks: `sudo e2fsck -p {{/dev/sdXN}}` diff --git a/pages/linux/e2image.md b/pages/linux/e2image.md index c4d68a3b69..dcb46344e0 100644 --- a/pages/linux/e2image.md +++ b/pages/linux/e2image.md @@ -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/e2undo.md b/pages/linux/e2undo.md index 84191f53a3..3ab453b314 100644 --- a/pages/linux/e2undo.md +++ b/pages/linux/e2undo.md @@ -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/eclean.md b/pages/linux/eclean.md index e773706b64..fa847f8eca 100644 --- a/pages/linux/eclean.md +++ b/pages/linux/eclean.md @@ -13,8 +13,8 @@ - Clean the distfiles of all uninstalled packages, but keep the distfiles of installed packages: -`sudo eclean --deep --package-names distfiles` +`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 --deep --package-names packages` +`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} packages` diff --git a/pages/linux/euse.md b/pages/linux/euse.md index 94c34b2185..a81c06a204 100644 --- a/pages/linux/euse.md +++ b/pages/linux/euse.md @@ -5,20 +5,20 @@ - List active global USE flags: -`euse --active --global` +`euse {{[-a|--active]}} {{[-g|--global]}}` - List active local USE flags: -`euse --active --local` +`euse {{[-a|--active]}} {{[-l|--local]}}` - Enable a global USE flag: -`sudo euse --enable {{use_flag}}` +`sudo euse {{[-E|--enable]}} {{use_flag}}` - Disable a global USE flag (put a '-' sign in front of the USE flag): -`sudo euse --disable {{use_flag}}` +`sudo euse {{[-D|--disable]}} {{use_flag}}` - Remove a global USE flag: -`sudo euse --prune {{use_flag}}` +`sudo euse {{[-P|--prune]}} {{use_flag}}` diff --git a/pages/linux/exiqgrep.md b/pages/linux/exiqgrep.md index c0dc29c9ae..6e4fb9ecd2 100644 --- a/pages/linux/exiqgrep.md +++ b/pages/linux/exiqgrep.md @@ -11,7 +11,7 @@ `exiqgrep -i -f '<{{email@example.com}}>'` -- Match the recipient address: +- Match the [r]ecipient address: `exiqgrep -r '{{email@example.com}}'` @@ -23,6 +23,6 @@ `exiqgrep -f '^<>$'` -- Display the count of bounced messages: +- Display the [c]ount of bounced messages: `exiqgrep -c -f '^<>$'` diff --git a/pages/linux/expect.md b/pages/linux/expect.md index 71595f661d..e78bcaa6d2 100644 --- a/pages/linux/expect.md +++ b/pages/linux/expect.md @@ -11,6 +11,6 @@ `expect -c "{{commands}}"` -- Enter an interactive REPL (use `exit` or `` 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 ffc36387c4..a6c0aca69f 100644 --- a/pages/linux/export.md +++ b/pages/linux/export.md @@ -11,7 +11,7 @@ `export -n {{VARIABLE}}` -- Export a function to child processes: +- Export a [f]unction to child processes: `export -f {{FUNCTION_NAME}}` diff --git a/pages/linux/extrace.md b/pages/linux/extrace.md index 601bacfe22..8e18024b7a 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/fakeroot.md b/pages/linux/fakeroot.md index 579a4c0f7c..5b7c5f8764 100644 --- a/pages/linux/fakeroot.md +++ b/pages/linux/fakeroot.md @@ -11,7 +11,7 @@ `fakeroot -- {{command}} {{command_arguments}}` -- Run a command as fakeroot and save the environment to a file on exit: +- Run a command as fakeroot and [s]ave the environment to a file on exit: `fakeroot -s {{path/to/file}} -- {{command}} {{command_arguments}}` diff --git a/pages/linux/flameshot.md b/pages/linux/flameshot.md index f41399a381..94818c4991 100644 --- a/pages/linux/flameshot.md +++ b/pages/linux/flameshot.md @@ -2,7 +2,7 @@ > Screenshot utility with a GUI. > Supports basic image editing, such as text, shapes, colors, and imgur. -> More information: . +> More information: . - Create a fullscreen screenshot: diff --git a/pages/linux/fprintd-verify.md b/pages/linux/fprintd-verify.md index bc37d58750..9479f55cfd 100644 --- a/pages/linux/fprintd-verify.md +++ b/pages/linux/fprintd-verify.md @@ -25,4 +25,4 @@ - Display help: -`fprintd-verify --help` +`fprintd-verify {{[-h|--help]}}` diff --git a/pages/linux/fsck.md b/pages/linux/fsck.md index c119e0dcb8..e6ced9cdc9 100644 --- a/pages/linux/fsck.md +++ b/pages/linux/fsck.md @@ -11,6 +11,6 @@ `sudo fsck -r {{/dev/sdXN}}` -- Check filesystem `/dev/sdXN`, reporting any damaged blocks and automatically repairing them: +- Check filesystem `/dev/sdXN`, reporting any damaged blocks and [a]utomatically repairing them: `sudo fsck -a {{/dev/sdXN}}` diff --git a/pages/linux/fuser.md b/pages/linux/fuser.md index 2d251a5a56..5c31be6a73 100644 --- a/pages/linux/fuser.md +++ b/pages/linux/fuser.md @@ -9,20 +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 --kill {{port}}/tcp` +`fuser {{[-k|--kill]}} {{port}}/tcp` diff --git a/pages/linux/gamescope.md b/pages/linux/gamescope.md index 438d84e324..7b18fa6625 100644 --- a/pages/linux/gamescope.md +++ b/pages/linux/gamescope.md @@ -23,6 +23,10 @@ `gamescope {{[-e|--steam]}} -- /usr/bin/steam -tenfoot` +- Specify which display to prefer: + +`gamescope {{[-O|--prefer-output]}} {{HDMI-A-1,DP-3,...}} -- {{program}}` + - Toggle fullscreen: `` diff --git a/pages/linux/gdebi.md b/pages/linux/gdebi.md index c965572c35..67e746ab93 100644 --- a/pages/linux/gdebi.md +++ b/pages/linux/gdebi.md @@ -1,7 +1,7 @@ # gdebi > Easily install `.deb` files. -> More information: . +> More information: . - Install local `.deb` packages resolving and installing its dependencies: @@ -9,15 +9,15 @@ - Do not show progress information: -`gdebi {{path/to/package.deb}} --quiet` +`gdebi {{path/to/package.deb}} {{[-q|--quiet]}}` - Set an APT configuration option: -`gdebi {{path/to/package.deb}} --option={{APT_OPTS}}` +`gdebi {{path/to/package.deb}} {{[-o|--option]}} {{APT_OPTS}}` - Use alternative root dir: -`gdebi {{path/to/package.deb}} --root={{path/to/root_dir}}` +`gdebi {{path/to/package.deb}} --root {{path/to/root_dir}}` - Display version: diff --git a/pages/linux/gio.md b/pages/linux/gio.md index c7bc9da027..2f4dabd599 100644 --- a/pages/linux/gio.md +++ b/pages/linux/gio.md @@ -2,7 +2,7 @@ > Handle local and virtual files (GVfs). > Part of GLib used in GNOME-based systems. -> More information: . +> More information: . - Open a file with the default application (e.g. PDF, image): diff --git a/pages/linux/gnome-screenshot.md b/pages/linux/gnome-screenshot.md index aaed14a7c0..14d6d272e6 100644 --- a/pages/linux/gnome-screenshot.md +++ b/pages/linux/gnome-screenshot.md @@ -9,27 +9,27 @@ - Take a screenshot and save it to the named file location: -`gnome-screenshot --file {{path/to/file}}` +`gnome-screenshot {{[-f|--file]}} {{path/to/file}}` - Take a screenshot and save it to the clipboard: -`gnome-screenshot --clipboard` +`gnome-screenshot {{[-c|--clipboard]}}` - Take a screenshot after the specified number of seconds: -`gnome-screenshot --delay {{5}}` +`gnome-screenshot {{[-d|--delay]}} {{5}}` - Launch the GNOME Screenshot GUI: -`gnome-screenshot --interactive` +`gnome-screenshot {{[-i|--interactive]}}` - Take a screenshot of the current window and save it to the specified file location: -`gnome-screenshot --window --file {{path/to/file}}` +`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 --delay {{10}} --clipboard` +`gnome-screenshot {{[-d|--delay]}} {{10}} {{[-c|--clipboard]}}` - Display the version: diff --git a/pages/linux/growpart.md b/pages/linux/growpart.md index 169d9bee41..4a9756999f 100644 --- a/pages/linux/growpart.md +++ b/pages/linux/growpart.md @@ -9,4 +9,4 @@ - Show what modifications would be made when growing partition `n` in a disk image: -`growpart --dry-run {{/path/to/disk.img}} {{n}}` +`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 index d91ee25164..e387b8f544 100644 --- a/pages/linux/grub-bios-setup.md +++ b/pages/linux/grub-bios-setup.md @@ -10,8 +10,8 @@ - Install even if problems are detected: -`grub-bios-setup --force {{/dev/sdX}}` +`grub-bios-setup {{[-f|--force]}} {{/dev/sdX}}` - Install GRUB in a specific directory: -`grub-bios-setup --directory={{/boot/grub}} {{/dev/sdX}}` +`grub-bios-setup {{[-d|--directory]}} {{/boot/grub}} {{/dev/sdX}}` diff --git a/pages/linux/gummy.md b/pages/linux/gummy.md index 94ae4d7f0d..56388fd169 100644 --- a/pages/linux/gummy.md +++ b/pages/linux/gummy.md @@ -5,7 +5,7 @@ - Set the screen temperature to 3000K: -`gummy --temperature {{3000}}` +`gummy {{[-t|--temperature]}} {{3000}}` - Set the screen backlight to 50%: @@ -13,16 +13,16 @@ - Set the screen pixel brightness to 45%: -`gummy --brightness {{45}}` +`gummy {{[-b|--brightness]}} {{45}}` - Increase current screen pixel brightness by 10%: -`gummy --brightness {{+10}}` +`gummy {{[-b|--brightness]}} {{+10}}` - Decrease current screen pixel brightness by 10%: -`gummy --brightness {{-10}}` +`gummy {{[-b|--brightness]}} {{-10}}` - Set the temperature and pixel brightness for the second screen: -`gummy --screen {{1}} --temperature {{3800}} --brightness {{65}}` +`gummy {{[-s|--screen]}} {{1}} {{[-t|--temperature]}} {{3800}} {{[-b|--brightness]}} {{65}}` diff --git a/pages/linux/gzexe.md b/pages/linux/gzexe.md index 25dc92e9b4..3e22aa2955 100644 --- a/pages/linux/gzexe.md +++ b/pages/linux/gzexe.md @@ -8,6 +8,6 @@ `gzexe {{path/to/executable}}` -- Decompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary): +- [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/haveged.md b/pages/linux/haveged.md new file mode 100644 index 0000000000..ec75338d15 --- /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/hlint.md b/pages/linux/hlint.md index c027090e0a..68a38e5a18 100644 --- a/pages/linux/hlint.md +++ b/pages/linux/hlint.md @@ -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/homectl.md b/pages/linux/homectl.md index 7a957fac27..3c5d940bc0 100644 --- a/pages/linux/homectl.md +++ b/pages/linux/homectl.md @@ -33,4 +33,4 @@ - Display help: -`homectl --help` +`homectl {{[-h|--help]}}` diff --git a/pages/linux/http-prompt.md b/pages/linux/http-prompt.md index 7efaa59fcb..976a7b5580 100644 --- a/pages/linux/http-prompt.md +++ b/pages/linux/http-prompt.md @@ -1,6 +1,6 @@ # 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 or the previous session: diff --git a/pages/linux/id3v2.md b/pages/linux/id3v2.md index 0a4c9d93db..75aa4c85fd 100644 --- a/pages/linux/id3v2.md +++ b/pages/linux/id3v2.md @@ -5,11 +5,11 @@ - List all genres: -`id3v2 --list-genres` +`id3v2 {{-L|--list-genres}}` - List all tags of specific files: -`id3v2 --list {{path/to/file1 path/to/file2 ...}}` +`id3v2 {{[-l|--list]}} {{path/to/file1 path/to/file2 ...}}` - Delete all `id3v2` or `id3v1` tags of specific files: @@ -17,8 +17,8 @@ - Display help: -`id3v2 --help` +`id3v2 {{[-h|--help]}}` - Display version: -`id3v2 --version` +`id3v2 {{[-v|--version]}}` diff --git a/pages/linux/img2txt.md b/pages/linux/img2txt.md index 46f0db5485..9f4355ba0b 100644 --- a/pages/linux/img2txt.md +++ b/pages/linux/img2txt.md @@ -5,20 +5,20 @@ - Set output column count to a specific value: -`img2txt --width={{10}}` +`img2txt {{[-W|--width]}} {{10}} {{path/to/image}}` - Set output line count to a specific value: -`img2txt --height={{5}}` +`img2txt {{[-H|--height]}} {{5}} {{path/to/image}}` - Set output font width to a specific value: -`img2txt --font-width={{12}}` +`img2txt {{[-x|--font-width]}} {{12}} {{path/to/image}}` - Set output font height to a specific value: -`img2txt --font-height={{14}}` +`img2txt {{[-y|--font-height]}} {{14}} {{path/to/image}}` - Set image brightness to a specific value: -`img2txt --brightness={{2}}` +`img2txt {{[-b|--brightness]}} {{2}} {{path/to/image}}` diff --git a/pages/linux/imgp.md b/pages/linux/imgp.md index 806a17404a..e141354cd0 100644 --- a/pages/linux/imgp.md +++ b/pages/linux/imgp.md @@ -1,6 +1,6 @@ # 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: diff --git a/pages/linux/inotifywait.md b/pages/linux/inotifywait.md index 5f5020b55e..632253f63d 100644 --- a/pages/linux/inotifywait.md +++ b/pages/linux/inotifywait.md @@ -9,28 +9,28 @@ - Continuously watch a specific file for events without exiting: -`inotifywait --monitor {{path/to/file}}` +`inotifywait {{[-m|--monitor]}} {{path/to/file}}` - Watch a directory recursively for events: -`inotifywait --monitor --recursive {{path/to/directory}}` +`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} {{path/to/directory}}` - Watch a directory for changes, excluding files, whose names match a regular expression: -`inotifywait --monitor --recursive --exclude "{{regular_expression}}" {{path/to/directory}}` +`inotifywait {{[-m|--monitor]}} {{[-r|--recursive]}} --exclude "{{regular_expression}}" {{path/to/directory}}` - Watch a file for changes, exiting when no event occurs for 30 seconds: -`inotifywait --monitor --timeout {{30}} {{path/to/file}}` +`inotifywait {{[-m|--monitor]}} {{[-t|--timeout]}} {{30}} {{path/to/file}}` - Only watch a file for file modification events: -`inotifywait --event {{modify}} {{path/to/file}}` +`inotifywait {{[-e|--event]}} {{modify}} {{path/to/file}}` - Watch a file printing only events, and no status messages: -`inotifywait --quiet {{path/to/file}}` +`inotifywait {{[-q|--quiet]}} {{path/to/file}}` - Run a command when a file is accessed: -`inotifywait --event {{access}} {{path/to/file}} && {{command}}` +`inotifywait {{[-e|--event]}} {{access}} {{path/to/file}} && {{command}}` diff --git a/pages/linux/instaloader.md b/pages/linux/instaloader.md index 59434c37cb..d11607f584 100644 --- a/pages/linux/instaloader.md +++ b/pages/linux/instaloader.md @@ -2,7 +2,7 @@ > 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: . +> More information: . - Download a profile: @@ -14,7 +14,7 @@ - Download posts with geotags (if available), suppressing any user interaction: -`instaloader --quiet --geotags {{profile_name}}` +`instaloader {{[-q|--quiet]}} {{[-G|--geotags]}} {{profile_name}}` - Specify a user agent for HTTP requests: @@ -22,16 +22,16 @@ - Specify login info and download posts (useful for private profiles): -`instaloader --login {{username}} --password {{password}} {{profile_name}}` +`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 --fast-update {{profile_name}}` +`instaloader {{[-F|--fast-update]}} {{profile_name}}` - Download stories and IGTV videos (login required): -`instaloader --login {{username}} --password {{password}} --stories --igtv {{profile_name}}` +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {{[-s|--stories]}} --igtv {{profile_name}}` - Download all types of posts (login required): -`instaloader --login {{username}} --password {{password}} --stories --igtv --highlights {{profile_name}}` +`instaloader {{[-l|--login]}} {{username}} {{[-p|--password]}} {{password}} {[-s|--stories]}} --igtv --highlights {{profile_name}}` diff --git a/pages/linux/ip-address.md b/pages/linux/ip-address.md index d3b1c0ed24..7d5a0c009f 100644 --- a/pages/linux/ip-address.md +++ b/pages/linux/ip-address.md @@ -13,16 +13,16 @@ - Display information about a specific network interface: -`ip {{[a|address]}} {{[s|show]}} {{eth0}}` +`ip {{[a|address]}} {{[s|show]}} {{ethX}}` - Add an IP address to a network interface: -`sudo ip {{[a|address]}} {{[a|add]}} {{ip_address}} dev {{eth0}}` +`sudo ip {{[a|address]}} {{[a|add]}} {{ip_address}} dev {{ethX}}` - Remove an IP address from a network interface: -`sudo ip {{[a|address]}} {{[d|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: -`sudo ip {{[a|address]}} {{[f|flush]}} {{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 index d3e32dc222..1d8f41204a 100644 --- a/pages/linux/ip-link.md +++ b/pages/linux/ip-link.md @@ -9,24 +9,24 @@ - Show information about a specific network interface: -`ip {{[l|link]}} {{[sh|show]}} {{ethN}}` +`ip {{[l|link]}} {{[sh|show]}} {{ethX}}` - Bring a network interface up or down: -`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{up|down}}` +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{up|down}}` - Give a meaningful name to a network interface: -`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} {{[al|alias]}} "{{LAN 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]}} {{ethN}} {{[a|address]}} {{ff:ff:ff:ff:ff:ff}}` +`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]}} {{ethN}} mtu {{9000}}` +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} mtu {{9000}}` - Set the promisc mode status of a device: -`sudo ip {{[l|link]}} {{[s|set]}} {{ethN}} promisc {{on|off}}` +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} promisc {{on|off}}` diff --git a/pages/linux/ip-maddress.md b/pages/linux/ip-maddress.md index 260fabe533..9b9cab4972 100644 --- a/pages/linux/ip-maddress.md +++ b/pages/linux/ip-maddress.md @@ -9,15 +9,15 @@ - List device specific addresses: -`ip {{[m|maddress]}} {{[s|show]}} dev {{eth0}}` +`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 {{eth0}}` +`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 {{eth0}}` +`sudo ip {{[m|maddress]}} {{[d|delete]}} {{33:33:00:00:00:02}} dev {{ethX}}` - Display help: diff --git a/pages/linux/ip-neighbour.md b/pages/linux/ip-neighbour.md index 88d37fc442..1660330af6 100644 --- a/pages/linux/ip-neighbour.md +++ b/pages/linux/ip-neighbour.md @@ -7,18 +7,18 @@ `ip {{[n|neighbour]}}` -- Remove entries in the neighbour table on device `eth0`: +- Remove entries in the neighbour table on device `ethX`: -`sudo ip {{[n|neighbour]}} {{[f|flush]}} dev {{eth0}}` +`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 {{eth0}}` +`ip {{[n|neighbour]}} {{[g|get]}} {{lookup_ip}} dev {{ethX}}` -- Add or delete an ARP entry for the neighbour IP address to `eth0`: +- 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 {{eth0}} nud reachable` +`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 `eth0`: +- 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 {{eth0}}` +`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 index 8f93a23206..8c794b1257 100644 --- a/pages/linux/ip-route-add.md +++ b/pages/linux/ip-route-add.md @@ -7,14 +7,14 @@ `sudo ip {{[r|route]}} {{[a|add]}} default via {{gateway_ip}}` -- Add a default route using `eth0`: +- Add a default route using `ethX`: -`sudo ip {{[r|route]}} {{[a|add]}} default dev {{eth0}}` +`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 {{eth0}}` +`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 {{eth0}} {{[t|table]}} {{ip}}` +`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 index 9360854741..e6b99a2069 100644 --- a/pages/linux/ip-route-get.md +++ b/pages/linux/ip-route-get.md @@ -13,11 +13,11 @@ - Print route to a destination for packets arriving on a specific interface: -`ip {{[r|route]}} {{[g|get]}} {{destination}} iif {{eth0}}` +`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 {{eth1}}` +`ip {{[r|route]}} {{[g|get]}} {{destination}} oif {{ethX}}` - Print route to a destination with a specified Type of Service (ToS): diff --git a/pages/linux/ip-route-list.md b/pages/linux/ip-route-list.md index 81f35d8a30..a034fe2622 100644 --- a/pages/linux/ip-route-list.md +++ b/pages/linux/ip-route-list.md @@ -21,7 +21,7 @@ - List routes from a given device only: -`ip {{[r|route]}} {{[l|list]}} dev {{eth0}}` +`ip {{[r|route]}} {{[l|list]}} dev {{ethX}}` - List routes within a given scope: diff --git a/pages/linux/ip-route.md b/pages/linux/ip-route.md index 1e46496da8..717b293707 100644 --- a/pages/linux/ip-route.md +++ b/pages/linux/ip-route.md @@ -11,21 +11,21 @@ `sudo ip {{[r|route]}} {{[a|add]}} default via {{gateway_ip}}` -- Add a default route using `eth0`: +- Add a default route using `ethX`: -`sudo ip {{[r|route]}} {{[a|add]}} default dev {{eth0}}` +`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 {{eth0}}` +`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 {{eth0}}` +`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 {{eth0}}` +`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: diff --git a/pages/linux/ip.md b/pages/linux/ip.md index 29ce4a7dea..c43257863a 100644 --- a/pages/linux/ip.md +++ b/pages/linux/ip.md @@ -26,12 +26,12 @@ - Make an interface up/down: -`sudo ip {{[l|link]}} {{[s|set]}} {{interface_name}} {{up|down}}` +`sudo ip {{[l|link]}} {{[s|set]}} {{ethX}} {{up|down}}` - Add/Delete an IP address to an interface: -`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{interface_name}}` +`sudo ip {{[a|address]}} {{add|delete}} {{ip}}/{{mask}} dev {{ethX}}` - Add a default route: -`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{interface_name}}` +`sudo ip {{[r|route]}} {{[a|add]}} default via {{ip}} dev {{ethX}}` diff --git a/pages/linux/ipcmk.md b/pages/linux/ipcmk.md index 7dd6d46643..2264fc2c29 100644 --- a/pages/linux/ipcmk.md +++ b/pages/linux/ipcmk.md @@ -5,16 +5,16 @@ - 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_permissions}}` +`ipcmk {{[-M|--shmem]}} {{segment_size_in_bytes}} {{octal_permissions}}` diff --git a/pages/linux/kpackagetool5.md b/pages/linux/kpackagetool5.md index a10804f203..194bc92bdb 100644 --- a/pages/linux/kpackagetool5.md +++ b/pages/linux/kpackagetool5.md @@ -17,8 +17,8 @@ - List installed plasmoids (`--global` for all users): -`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-l|--list]}} {{[-g|--global]}}` +`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-l|--list]}} {{[-g|--global]}}` - Remove a plasmoid by name: -`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-r|--remove]}} "{{name}}"` +`kpackagetool5 {{[-t|--type]}} Plasma/Applet {{[-r|--remove]}} "{{name}}"` diff --git a/pages/linux/kscreen-console.md b/pages/linux/kscreen-console.md index 833fadba64..1283fc772d 100644 --- a/pages/linux/kscreen-console.md +++ b/pages/linux/kscreen-console.md @@ -1,6 +1,6 @@ # kscreen-console -> Command-line tool to query KScreen's status. +> Query KScreen's status. > More information: . - Show all outputs and configuration files to attach to a bug report: diff --git a/pages/linux/kwallet-query.md b/pages/linux/kwallet-query.md index e0d4f44c3e..db06796d88 100644 --- a/pages/linux/kwallet-query.md +++ b/pages/linux/kwallet-query.md @@ -13,7 +13,7 @@ - List all available folders: -`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} ""` +`kwallet-query {{kdewallet}} {{[-l|--list-entries]}} {{[-f|--folder]}} ""` - Display help: diff --git a/pages/linux/ldd.md b/pages/linux/ldd.md index 72cd6eb074..de4e55bca4 100644 --- a/pages/linux/ldd.md +++ b/pages/linux/ldd.md @@ -10,16 +10,16 @@ - Display all information about dependencies: -`ldd --verbose {{path/to/binary}}` +`ldd {{[-v|--verbose]}} {{path/to/binary}}` - Display unused direct dependencies: -`ldd --unused {{path/to/binary}}` +`ldd {{[-u|--unused]}} {{path/to/binary}}` - Report missing data objects and perform data relocations: -`ldd --data-relocs {{path/to/binary}}` +`ldd {{[-d|--data-relocs]}} {{path/to/binary}}` - Report missing data objects and functions, and perform relocations for both: -`ldd --function-relocs {{path/to/binary}}` +`ldd {{[-r|--function-relocs]}} {{path/to/binary}}` diff --git a/pages/linux/legit.md b/pages/linux/legit.md index 4450a2b4a0..d6d0e9b8b3 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/libtool.md b/pages/linux/libtool.md index 8dccacb1bf..59ad886cf0 100644 --- a/pages/linux/libtool.md +++ b/pages/linux/libtool.md @@ -5,28 +5,28 @@ - Compile a source file into a `libtool` object: -`libtool --mode=compile gcc {{[-c|--compile]}} {{path/to/source.c}} {{[-o|--output]}} {{path/to/source.lo}}` +`libtool {{[c|compile]}} gcc {{[-c|--compile]}} {{path/to/source.c}} {{[-o|--output]}} {{path/to/source.lo}}` - Create a library or an executable: -`libtool --mode=link gcc {{[-o|--output]}} {{path/to/library.lo}} {{path/to/source.lo}}` +`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 --mode=execute gdb {{path/to/program}}` +`libtool {{[e|execute]}} gdb {{path/to/program}}` - Install a shared library: -`libtool --mode=install cp {{path/to/library.la}} {{path/to/installation_directory}}` +`libtool {{[i|install]}} cp {{path/to/library.la}} {{path/to/installation_directory}}` - Complete the installation of `libtool` libraries on the system: -`libtool --mode=finish {{path/to/installation_dir}}` +`libtool {{[f|finish]}} {{path/to/installation_dir}}` - Delete installed libraries or executables: -`libtool --mode=uninstall {{path/to/installed_library.la}}` +`libtool {{[u|uninstall]}} {{path/to/installed_library.la}}` - Delete uninstalled libraries or executables: -`libtool --mode=clean rm {{path/to/source.lo}} {{path/to/library.la}}` +`libtool {{[cl|clean]}} rm {{path/to/source.lo}} {{path/to/library.la}}` diff --git a/pages/linux/macchanger.md b/pages/linux/macchanger.md index 989b025ac1..9529c86d7e 100644 --- a/pages/linux/macchanger.md +++ b/pages/linux/macchanger.md @@ -1,6 +1,6 @@ # 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: diff --git a/pages/linux/nl.md b/pages/linux/nl.md index 3ebce9e9de..e4fe18c61e 100644 --- a/pages/linux/nl.md +++ b/pages/linux/nl.md @@ -9,7 +9,7 @@ - Read from `stdin`: -`{{command}} | nl -` +`{{command}} | nl` - Number [a]ll body lines including blank lines or do [n]ot number body lines: diff --git a/pages/linux/pihole.md b/pages/linux/pihole.md index 9ea3f7af49..9dfadcc941 100644 --- a/pages/linux/pihole.md +++ b/pages/linux/pihole.md @@ -3,13 +3,13 @@ > Manage the Pi-hole ad-blocking DNS server. > More information: . -- Check the Pi-hole daemon's status: +- Check Pi-hole's status: `pihole status` - Update Pi-hole and Gravity: -`pihole {{[-up|updatePihole]}}` +`sudo pihole {{[-up|updatePihole]}}` - Start or stop the daemon: @@ -25,7 +25,7 @@ - Allow or deny the specified domain: -`pihole {{allowlist|denylist}} {{example.com}}` +`pihole {{allow|deny}} {{example.com}}` - Search the lists for a domain: diff --git a/pages/linux/pkcon.md b/pages/linux/pkcon.md index 334d22d5f8..fc4c6ef5aa 100644 --- a/pages/linux/pkcon.md +++ b/pages/linux/pkcon.md @@ -1,6 +1,6 @@ # pkcon -> Command line client for PackageKit console program used by Discover and Gnome software and alternative to 'apt'. +> PackageKit client used by Discover and Gnome software and alternative to `apt`. > More information: . - Install a package: diff --git a/pages/linux/proctl.md b/pages/linux/proctl.md index 0ec691d2c0..5df0d7c97b 100644 --- a/pages/linux/proctl.md +++ b/pages/linux/proctl.md @@ -31,6 +31,6 @@ `proctl {{-R|-delete-license}} {{@license_name1 @license_name2 ...}}` -- Show this helpful list of commands: +- Display help: `proctl {{-h|-help}}` diff --git a/pages/linux/pw-cat.md b/pages/linux/pw-cat.md index 3face83ece..81cd465884 100644 --- a/pages/linux/pw-cat.md +++ b/pages/linux/pw-cat.md @@ -1,6 +1,7 @@ # pw-cat > Play and record audio files through PipeWire. +> See also: `wpctl`, `pw-cli`. > More information: . - Play a WAV file over the default target: diff --git a/pages/linux/pw-cli.md b/pages/linux/pw-cli.md index bb71fee178..ea901714d1 100644 --- a/pages/linux/pw-cli.md +++ b/pages/linux/pw-cli.md @@ -1,16 +1,25 @@ # pw-cli > Manage a PipeWire instance's modules, objects, nodes, devices, links and much more. +> See also: `wpctl`. > More information: . -- Print all nodes (sinks and sources) along with their IDs: +- Print information of all object of a specific type: -`pw-cli list-objects Node` +`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 info {{4}}` +`pw-cli {{[i|info]}} {{4}}` - Print all objects' information: -`pw-cli info all` +`pw-cli {{[i|info]}} all` + +- Monitor for object changes: + +`pw-cli {{[-m|--monitor]}}` + +- Display help: + +`pw-cli {{[h|help]}}` diff --git a/pages/linux/resolvectl.md b/pages/linux/resolvectl.md index 14b450b6a2..978d846d0f 100644 --- a/pages/linux/resolvectl.md +++ b/pages/linux/resolvectl.md @@ -26,7 +26,7 @@ - Retrieve an MX record of a domain: -`resolvectl --legend={{no}} --type={{MX}} query {{domain}}` +`resolvectl --legend {{no}} {{[-t|--type]}} {{MX}} query {{domain}}` - Resolve an SRV record, for example _xmpp-server._tcp gmail.com: diff --git a/pages/linux/rspamc.md b/pages/linux/rspamc.md index 233f128cdc..4fdf5b7953 100644 --- a/pages/linux/rspamc.md +++ b/pages/linux/rspamc.md @@ -1,6 +1,6 @@ # 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/runlevel.md b/pages/linux/runlevel.md new file mode 100644 index 0000000000..dc209f0627 --- /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/setxkbmap.md b/pages/linux/setxkbmap.md index 835f0564a6..7d64cc1be3 100644 --- a/pages/linux/setxkbmap.md +++ b/pages/linux/setxkbmap.md @@ -11,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` @@ -26,3 +22,7 @@ - List available switching options: `localectl list-x11-keymap-options | grep grp:` + +- Display help: + +`setxkbmap -help` diff --git a/pages/linux/sfill.md b/pages/linux/sfill.md index e25e00adb7..c6b8cab1d5 100644 --- a/pages/linux/sfill.md +++ b/pages/linux/sfill.md @@ -7,18 +7,18 @@ `sfill {{/path/to/mounted_disk_directory}}` -- Overwrite free space and inodes of a disk with 6 writes (fast but less secure) and show status: +- 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 insecure) and show status: +- 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 disk: +- Overwrite only free space of a d[I]sk: `sfill -I {{/path/to/mounted_disk_directory}}` -- Overwrite only free inodes of a disk: +- Overwrite only free [i]nodes of a disk: `sfill -i {{/path/to/mounted_disk_directory}}` diff --git a/pages/linux/udevadm.md b/pages/linux/udevadm.md index 7b818b21a6..c61aadf1f5 100644 --- a/pages/linux/udevadm.md +++ b/pages/linux/udevadm.md @@ -9,19 +9,19 @@ - Print `uevents` sent out by the kernel: -`sudo udevadm monitor --kernel` +`sudo udevadm monitor {{[-k|--kernel]}}` - Print device events after being processed by `udev`: -`sudo udevadm monitor --udev` +`sudo udevadm monitor {{[-u|--udev]}}` - List attributes of device `/dev/sda`: -`sudo udevadm info --attribute-walk {{/dev/sda}}` +`sudo udevadm info {{[-a|--attribute-walk]}} {{/dev/sda}}` - Reload all `udev` rules: -`sudo udevadm control --reload` +`sudo udevadm control {{[-R|--reload]}}` - Trigger all `udev` rules to run: diff --git a/pages/linux/usermod.md b/pages/linux/usermod.md index d16179b775..8889b6a4d7 100644 --- a/pages/linux/usermod.md +++ b/pages/linux/usermod.md @@ -20,6 +20,10 @@ `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}}` diff --git a/pages/linux/uvcdynctrl.md b/pages/linux/uvcdynctrl.md index 94ab9c1c57..8fb43f722a 100644 --- a/pages/linux/uvcdynctrl.md +++ b/pages/linux/uvcdynctrl.md @@ -1,6 +1,6 @@ # uvcdynctrl -> A libwebcam command-line tool to manage dynamic controls in uvcvideo. +> Manage dynamic controls in uvcvideo. > More information: . - List all available cameras: diff --git a/pages/linux/vgextend.md b/pages/linux/vgextend.md new file mode 100644 index 0000000000..e403833393 --- /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/virt-what.md b/pages/linux/virt-what.md new file mode 100644 index 0000000000..ea321e59a9 --- /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/vlock.md b/pages/linux/vlock.md new file mode 100644 index 0000000000..d258f4c7bd --- /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]}}` + +- Show help: + +`vlock {{[-h|--help]}}` + +- Show version: + +`vlock {{[-v|--version]}}` diff --git a/pages/linux/wpctl.md b/pages/linux/wpctl.md index 68115c6967..e02cef7b62 100644 --- a/pages/linux/wpctl.md +++ b/pages/linux/wpctl.md @@ -2,6 +2,7 @@ > 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: diff --git a/pages/common/wpexec.md b/pages/linux/wpexec.md similarity index 100% rename from pages/common/wpexec.md rename to pages/linux/wpexec.md diff --git a/pages/linux/xdg-desktop-menu.md b/pages/linux/xdg-desktop-menu.md index fa1670f463..8e8e8e3b09 100644 --- a/pages/linux/xdg-desktop-menu.md +++ b/pages/linux/xdg-desktop-menu.md @@ -1,6 +1,6 @@ # xdg-desktop-menu -> Command-line tool for installing or uninstalling desktop menu items. +> Install or uninstall desktop menu items. > More information: . - Install an application to the desktop menu system: diff --git a/pages/linux/xdotool.md b/pages/linux/xdotool.md index 4617ab6122..db2a1588ab 100644 --- a/pages/linux/xdotool.md +++ b/pages/linux/xdotool.md @@ -1,6 +1,6 @@ # xdotool -> Command-line automation for X11. +> Automate X11 actions. > More information: . - Retrieve the X-Windows window ID of the running Firefox window(s): diff --git a/pages/linux/xhost.md b/pages/linux/xhost.md index c19450dde0..cabd8e367b 100644 --- a/pages/linux/xhost.md +++ b/pages/linux/xhost.md @@ -15,7 +15,7 @@ `xhost -{{hostname}}` -- Allow all hosts to connect (disable access control — insecure): +- Allow all hosts to connect (disable access control - insecure): `xhost +` diff --git a/pages/linux/xsetwacom.md b/pages/linux/xsetwacom.md index d2604a46a7..0fcde0aa55 100644 --- a/pages/linux/xsetwacom.md +++ b/pages/linux/xsetwacom.md @@ -1,6 +1,6 @@ # 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: diff --git a/pages/osx/bc.md b/pages/osx/bc.md index a54964a2bd..6708ef82a9 100644 --- a/pages/osx/bc.md +++ b/pages/osx/bc.md @@ -14,7 +14,7 @@ - Calculate an expression: -`bc --expression='{{5 / 3}}'` +`bc --expression '{{5 / 3}}'` - Execute a script: @@ -22,8 +22,8 @@ - Calculate an expression with the specified scale: -`bc --expression='scale = {{10}}; {{5 / 3}}'` +`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}})'` +`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'` diff --git a/pages/osx/herd-list.md b/pages/osx/herd-list.md index 7d3bd0fffb..f34d12b66b 100644 --- a/pages/osx/herd-list.md +++ b/pages/osx/herd-list.md @@ -18,7 +18,7 @@ - Display the list in a specific output format: -`herd list --format={{txt|xml|json|md}}` +`herd list --format {{txt|xml|json|md}}` - List all commands without describing their arguments: diff --git a/pages/osx/mktemp.md b/pages/osx/mktemp.md index 022518d4ef..2b08145339 100644 --- a/pages/osx/mktemp.md +++ b/pages/osx/mktemp.md @@ -9,7 +9,7 @@ - Use a custom directory (defaults to the output of `getconf DARWIN_USER_TEMP_DIR`, or `/tmp`): -`mktemp --tmpdir={{/path/to/tempdir}}` +`mktemp --tmpdir {{/path/to/tempdir}}` - Use a custom path template (`X`s are replaced with random alphanumeric characters): diff --git a/pages/osx/say.md b/pages/osx/say.md index 860e9d17ae..97db0dcac4 100644 --- a/pages/osx/say.md +++ b/pages/osx/say.md @@ -9,20 +9,20 @@ - Read a file aloud: -`say --input-file={{filename.txt}}` +`say --input-file {{filename.txt}}` - Say a phrase with a custom voice and speech rate: -`say --voice={{voice}} --rate={{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 (different voices speak in different languages): -`say --voice="?"` +`say --voice "?"` - Say something in Polish: -`say --voice={{Zosia}} "{{Litwo, ojczyzno moja!}}"` +`say --voice {{Zosia}} "{{Litwo, ojczyzno moja!}}"` - Create an audio file of the spoken text: -`say --output-file={{filename.aiff}} "{{Here's to the Crazy Ones.}}"` +`say --output-file {{filename.aiff}} "{{Here's to the Crazy Ones.}}"` diff --git a/pages/osx/shuf.md b/pages/osx/shuf.md index 896da19717..a23b6f7aa0 100644 --- a/pages/osx/shuf.md +++ b/pages/osx/shuf.md @@ -13,7 +13,7 @@ - Write output to another file: -`shuf {{path/to/input_file}} --output={{ath/to/output_file}}` +`shuf {{path/to/input_file}} --output {{ath/to/output_file}}` - Generate random numbers in the range 1 to 10: diff --git a/pages/osx/tart.md b/pages/osx/tart.md index ebf91a00a3..320b299e23 100644 --- a/pages/osx/tart.md +++ b/pages/osx/tart.md @@ -13,7 +13,7 @@ - Create a new Mac VM from a specific ipsw file: -`tart create --from-ipsw={{latest|path/to/file.ipsw}} {{vm-name}}` +`tart create --from-ipsw {{latest|path/to/file.ipsw}} {{vm-name}}` - Run an existing VM: diff --git a/pages/windows/netsh-interface-portproxy.md b/pages/windows/netsh-interface-portproxy.md index 976c6c0d76..6658c91c56 100644 --- a/pages/windows/netsh-interface-portproxy.md +++ b/pages/windows/netsh-interface-portproxy.md @@ -9,7 +9,7 @@ - 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}}` +`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): diff --git a/scripts/set-more-info-link.py b/scripts/set-more-info-link.py index ef8c6a475d..24ffbc6944 100755 --- a/scripts/set-more-info-link.py +++ b/scripts/set-more-info-link.py @@ -73,7 +73,7 @@ labels = { "de": "Weitere Informationen:", "es": "Más información:", "fa": "اطلاعات بیشتر:", - "fi": "Lisätietoja:", + "fi": "Lisätietoa:", "fr": "Plus d'informations :", "hi": "अधिक जानकारी:", "id": "Informasi lebih lanjut:",