diff --git a/pages.bs/common/time.md b/pages.bs/common/time.md index d214936d2..e724655b5 100644 --- a/pages.bs/common/time.md +++ b/pages.bs/common/time.md @@ -2,6 +2,6 @@ > Vidi koliko dugo traje komanda. -- Vrijeme "ls": +- Vrijeme `ls`: `time ls` diff --git a/pages.de/common/7z.md b/pages.de/common/7z.md index 9c8fd7280..13b22f987 100644 --- a/pages.de/common/7z.md +++ b/pages.de/common/7z.md @@ -19,7 +19,7 @@ `7z x {{archiviert.7z}} -o{{Pfad/zu/ausgabe}}` -- Entpacke ein Archiv nach `stdout`: +- Entpacke ein Archiv nach stdout: `7z x {{archiviert.7z}} -so` diff --git a/pages.de/common/ansible.md b/pages.de/common/ansible.md index 6200ca62e..2165daeb5 100644 --- a/pages.de/common/ansible.md +++ b/pages.de/common/ansible.md @@ -1,8 +1,8 @@ # ansible > Verwalten von Computergruppen per Fernzugriff über SSH. -> Verwenden Sie die Datei /etc/ansible/hosts, um neue Gruppen/Hosts hinzuzufügen. -> Mehr Informationen: . +> Verwenden Sie die Datei `/etc/ansible/hosts`, um neue Gruppen/Hosts hinzuzufügen. +> Weitere Informationen: . - Hosts auflisten, die zu einer Gruppe gehören: diff --git a/pages.de/common/bash.md b/pages.de/common/bash.md index 758093833..ed06d2e10 100644 --- a/pages.de/common/bash.md +++ b/pages.de/common/bash.md @@ -24,7 +24,7 @@ `bash -e {{datei.sh}}` -- Befehle von `stdin` ausführen: +- Befehle von stdin ausführen: `bash -s` diff --git a/pages.de/common/cut.md b/pages.de/common/cut.md index 687f32b31..adc574aa9 100644 --- a/pages.de/common/cut.md +++ b/pages.de/common/cut.md @@ -1,8 +1,8 @@ # cut -> Entferne Felder von `stdin` oder einer Datei. +> Entferne Felder von stdin oder einer Datei. -- Entferne die ersten 16 Zeichen jeder Zeile von `stdin`: +- Entferne die ersten 16 Zeichen jeder Zeile von stdin: `cut -c {{1-16}}` diff --git a/pages.de/common/ffmpeg.md b/pages.de/common/ffmpeg.md index a337c06f8..ec5159c56 100644 --- a/pages.de/common/ffmpeg.md +++ b/pages.de/common/ffmpeg.md @@ -11,7 +11,7 @@ `ffmpeg -i {{video.mpg|video.gif}} {{frame_%d.png}}` -- Kombiniere numerierte Bilder (frame_1.jpg, frame_2.jpg, etc) in ein Video oder Gif: +- Kombiniere numerierte Bilder (`frame_1.jpg`, `frame_2.jpg`, etc) in ein Video oder Gif: `ffmpeg -i {{frame_%d.jpg}} -f bild2 {{video.mpg|video.gif}}` diff --git a/pages.de/common/git-add.md b/pages.de/common/git-add.md index ecdecf04a..5e84c0660 100644 --- a/pages.de/common/git-add.md +++ b/pages.de/common/git-add.md @@ -15,7 +15,7 @@ `git add -u` -- Fügt auch Dateien, welche ignoriert werden (.gitignore) hinzu: +- Fügt auch Dateien, welche ignoriert werden (`.gitignore`) hinzu: `git add -f` diff --git a/pages.de/common/git-ignore.md b/pages.de/common/git-ignore.md index cdd9dda58..205e0a7f7 100644 --- a/pages.de/common/git-ignore.md +++ b/pages.de/common/git-ignore.md @@ -7,6 +7,6 @@ `git ignore list` -- Erstelle eine .gitignore Vorlage: +- Erstelle eine `.gitignore` Vorlage: `git ignore {{eintrag_a,eintrag_b,eintrag_n}}` diff --git a/pages.de/common/gpg.md b/pages.de/common/gpg.md index e1918a224..e77a84e40 100644 --- a/pages.de/common/gpg.md +++ b/pages.de/common/gpg.md @@ -3,19 +3,19 @@ > GNU Privacy Guard. > Mehr Informationen: . -- Signiere doc.txt ohne Verschlüsselung (Ausabe nach doc.txt.asc): +- Signiere `doc.txt` ohne Verschlüsselung (Ausabe nach `doc.txt.asc`): `gpg --clearsign {{doc.txt}}` -- Verschlüssle doc.txt für alice@beispiel.de (Ausgabe nach doc.txt.gpg): +- Verschlüssle `doc.txt` für alice@beispiel.de (Ausgabe nach `doc.txt.gpg`): `gpg --encrypt --recipient {{alice@beispiel.de}} {{doc.txt}}` -- Verschlüssle doc.txt nur mit Passwort (Ausgabe nach doc.txt.gpg): +- Verschlüssle `doc.txt` nur mit Passwort (Ausgabe nach `doc.txt.gpg`): `gpg --symmetric {{doc.txt}}` -- Entschlüssle doc.txt.gpg (Ausgabe nach `stdout`): +- Entschlüssle `doc.txt.gpg` (Ausgabe nach stdout): `gpg --decrypt {{doc.txt.gpg}}` @@ -23,10 +23,10 @@ `gpg --import {{public.gpg}}` -- Exportiere Öffentlichen Schlüssel von alice@beispiel.de (Ausgabe nach `stdout`): +- Exportiere Öffentlichen Schlüssel von alice@beispiel.de (Ausgabe nach stdout): `gpg --export --armor {{alice@beispiel.de}}` -- Exportiere Privaten Schlüssel von alice@beispiel.de (Ausgabe nach `stdout`): +- Exportiere Privaten Schlüssel von alice@beispiel.de (Ausgabe nach stdout): `gpg --export-secret-keys --armor {{alice@beispiel.de}}` diff --git a/pages.de/common/phpbu.md b/pages.de/common/phpbu.md index 706b7684c..e7156913c 100644 --- a/pages.de/common/phpbu.md +++ b/pages.de/common/phpbu.md @@ -3,7 +3,7 @@ > Ein Backup framework für PHP. > Mehr Informationen: . -- Backups mit der Standard "phpbu.xml" Konfigurationsdatei ausführen: +- Backups mit der Standard `phpbu.xml` Konfigurationsdatei ausführen: `phpbu` diff --git a/pages.de/common/sshpass.md b/pages.de/common/sshpass.md index fc539ac6d..a63332357 100644 --- a/pages.de/common/sshpass.md +++ b/pages.de/common/sshpass.md @@ -1,9 +1,9 @@ # sshpass > Für die Bereitstellung von SSH Passwörtern. -> Es funktioniert über die Übergabe des Passwortes and ein temporäres TTY und die Weiterleitung des `stdin` an die SSH Sitzung. +> Es funktioniert über die Übergabe des Passwortes and ein temporäres TTY und die Weiterleitung des stdin an die SSH Sitzung. -- Verbindung zu einem externen Server über ein Passwort aus einem Datei-Objekt (in diesem Fall `stdin`): +- Verbindung zu einem externen Server über ein Passwort aus einem Datei-Objekt (in diesem Fall stdin): `sshpass -d {{0}} ssh {{Benutzer}}@{{Server}}` diff --git a/pages.de/linux/apt-get.md b/pages.de/linux/apt-get.md index f3958f3e6..5b4fda0c1 100644 --- a/pages.de/linux/apt-get.md +++ b/pages.de/linux/apt-get.md @@ -23,7 +23,7 @@ `apt-get upgrade` -- Reinigt das Repository - entfernt alle Dateinen (.deb) welche nichtmehr heruntergeladen werden können: +- Reinigt das Repository - entfernt alle Dateinen (`.deb`) welche nichtmehr heruntergeladen werden können: `apt-get autoclean` diff --git a/pages.de/windows/choco-install.md b/pages.de/windows/choco-install.md index d049a0fc9..d04a73a3f 100644 --- a/pages.de/windows/choco-install.md +++ b/pages.de/windows/choco-install.md @@ -11,7 +11,7 @@ `choco install {{pfad/zur/pakete.config}}` -- Installiere Pakete aus einer "nuspec"- oder "nupkg"-Datei: +- Installiere Pakete aus einer `nuspec`- oder `nupkg`-Datei: `choco install {{pfad/zur/datei}}` diff --git a/pages.es/common/7z.md b/pages.es/common/7z.md index 44e273da7..55830e51c 100644 --- a/pages.es/common/7z.md +++ b/pages.es/common/7z.md @@ -19,7 +19,7 @@ `7z x {{archivo_comprimido.7z}} -o {{ruta/donde/extraer}}` -- Extrae un archivo comprimido a `stdout`: +- Extrae un archivo comprimido a stdout: `7z x {{archivo_comprimido.7z}} -so` diff --git a/pages.es/common/base64.md b/pages.es/common/base64.md index 5d47e25a2..80447e9a7 100644 --- a/pages.es/common/base64.md +++ b/pages.es/common/base64.md @@ -10,10 +10,10 @@ `base64 -d {{nombre_de_archivo}}` -- Codifica `stdin`: +- Codifica stdin: `{{comando}} | base64` -- Decodifica `stdin`: +- Decodifica stdin: `{{comando}} | base64 -d` diff --git a/pages.es/common/bash.md b/pages.es/common/bash.md index 985e3a842..1b7675bdb 100644 --- a/pages.es/common/bash.md +++ b/pages.es/common/bash.md @@ -24,7 +24,7 @@ `bash -e {{archivo.sh}}` -- Ejecuta comandos desde `stdin` (entrada estándar): +- Ejecuta comandos desde stdin (entrada estándar): `bash -s` diff --git a/pages.es/common/cpdf.md b/pages.es/common/cpdf.md index f997bbf9a..aa12ae34e 100644 --- a/pages.es/common/cpdf.md +++ b/pages.es/common/cpdf.md @@ -15,7 +15,7 @@ `cpdf -list-bookmarks {{ruta/del/documento.pdf}}` -- Divide un documento en trozos de diez páginas, escribiendo fragmento001.pdf, fragmento002.pdf, etc: +- Divide un documento en trozos de diez páginas, escribiendo `fragmento001.pdf`, `fragmento002.pdf`, etc: `cpdf -split {{ruta/del/documento.pdf}} -o {{ruta/del/fragmento%%%.pdf}} -chunk 10` diff --git a/pages.es/common/git-check-ignore.md b/pages.es/common/git-check-ignore.md index 2f99b92ae..3d8a3b1ad 100644 --- a/pages.es/common/git-check-ignore.md +++ b/pages.es/common/git-check-ignore.md @@ -11,7 +11,7 @@ `git check-ignore {{ruta/del/archivo}} {{ruta/del/directorio}}` -- Usa nombres de rutas, uno por línea, a partir de la entrada estandar (`stdin`): +- Usa nombres de rutas, uno por línea, a partir de la entrada estandar (stdin): `git check-ignore --stdin < {{ruta/del/archivo_lista}}` diff --git a/pages.es/common/git-format-patch.md b/pages.es/common/git-format-patch.md index 291905e42..3ab9d4156 100644 --- a/pages.es/common/git-format-patch.md +++ b/pages.es/common/git-format-patch.md @@ -4,14 +4,14 @@ > Véase también `git-am`, comando que puede aplicar los archivos .patch generados. > Más información: . -- Crea un archivo .patch con nombre automático para todos los cambios que no están en el push: +- Crea un archivo `.patch` con nombre automático para todos los cambios que no están en el push: `git format-patch {{origen}}` -- Escribe un archivo .patch para todos los commits entre dos revisiones a `stdout`: +- Escribe un archivo `.patch` para todos los commits entre dos revisiones a stdout: `git format-patch {{revisión_1}}..{{revisión_2}}` -- Escribe un archivo .patch para los 3 últimos commits: +- Escribe un archivo `.patch` para los 3 últimos commits: `git format-patch -{{3}}` diff --git a/pages.es/osx/apachectl.md b/pages.es/osx/apachectl.md index e4b45a829..39ec472fe 100644 --- a/pages.es/osx/apachectl.md +++ b/pages.es/osx/apachectl.md @@ -2,7 +2,7 @@ > Interfaz de control pata Apache HTTP Server para macOS. -- Inicia la tarea launchd org.apache.httpd: +- Inicia la tarea launchd `org.apache.httpd`: `apachectl start` diff --git a/pages.es/osx/as.md b/pages.es/osx/as.md index 2fffe7471..0c344d399 100644 --- a/pages.es/osx/as.md +++ b/pages.es/osx/as.md @@ -3,7 +3,7 @@ > Ensamblador portable GNU. > Principalmente destinado a ensamblar la salida de `gcc` para ser utilizada por` ld`. -- Ensambla un archivo, escribiendo la salida en a.out: +- Ensambla un archivo, escribiendo la salida en `a.out`: `as {{archivo.s}}` @@ -15,6 +15,6 @@ `as -f {{archivo.s}}` -- Incluye una ruta determinada a la lista de directorios para buscar archivos especificados en las directivas .include: +- Incluye una ruta determinada a la lista de directorios para buscar archivos especificados en las directivas `.include`: `as -I {{ruta/al/directorio}} {{archivo.s}}` diff --git a/pages.fr/common/base32.md b/pages.fr/common/base32.md index 1c76f8be8..aed0ef161 100644 --- a/pages.fr/common/base32.md +++ b/pages.fr/common/base32.md @@ -10,10 +10,10 @@ `base32 -d {{fichier}}` -- Encode depuis `stdin` : +- Encode depuis stdin : `{{commande}} | base32` -- Décode depuis `stdin` : +- Décode depuis stdin : `{{commande}} | base32 -d` diff --git a/pages.fr/common/base64.md b/pages.fr/common/base64.md index 5f24e26ac..3b7681fb0 100644 --- a/pages.fr/common/base64.md +++ b/pages.fr/common/base64.md @@ -10,10 +10,10 @@ `base64 -d {{fichier}}` -- Encoder depuis `stdin` : +- Encoder depuis stdin : `{{une_commande}} | base64` -- Décoder depuis `stdin` : +- Décoder depuis stdin : `{{une_commande}} | base64 -d` diff --git a/pages.fr/common/git-archive.md b/pages.fr/common/git-archive.md index 29966820a..ac6997dba 100644 --- a/pages.fr/common/git-archive.md +++ b/pages.fr/common/git-archive.md @@ -3,11 +3,11 @@ > Cree une archive de fichiers depuis un branche donée. > Plus d'informations : . -- Crée une archive .tar avec le contenu de la HEAD et l'affiche sur la sortie stanard : +- Crée une archive `.tar` avec le contenu de la HEAD et l'affiche sur la sortie stanard : `git archive --verbose HEAD` -- Crée une archive .zip avec le contenu de la HEAD et l'affiche sur la sortie stanard : +- Crée une archive `.zip` avec le contenu de la HEAD et l'affiche sur la sortie stanard : `git archive --verbose --format=zip HEAD` diff --git a/pages.fr/common/git-check-ignore.md b/pages.fr/common/git-check-ignore.md index 8802b46d9..d96eee38a 100644 --- a/pages.fr/common/git-check-ignore.md +++ b/pages.fr/common/git-check-ignore.md @@ -11,7 +11,7 @@ `git check-ignore {{chemin/vers/fichier}} {{chemin/vers/repertoire}}` -- Utilisez des chemins d'accès, un par ligne, de `stdin` : +- Utilisez des chemins d'accès, un par ligne, de stdin : `git check-ignore --stdin < {{chemin/vers/fichier_annexe}}` diff --git a/pages.fr/common/git-format-patch.md b/pages.fr/common/git-format-patch.md index d3ad013d3..cfb8224b8 100644 --- a/pages.fr/common/git-format-patch.md +++ b/pages.fr/common/git-format-patch.md @@ -4,14 +4,14 @@ > Voir egalement `git am`, qui peut appliquer des fichiers de correctifs genérés. > Plus d'informations : . --Créer un fichier de correctif .patch nommé automatiquement pour tout les commits non poussés : +-Créer un fichier de correctif `.patch` nommé automatiquement pour tout les commits non poussés : `git format-patch {{origin}}` -- Crér un fichier correctif .patch pour les changements entre 2 révisions : +- Crér un fichier correctif `.patch` pour les changements entre 2 révisions : `git format-patch {{revision_1}}..{{revision_2}}` -- Créer un fichier correctif .patch pour les 3 derniers commits : +- Créer un fichier correctif `.patch` pour les 3 derniers commits : `git format-patch -{{3}}` diff --git a/pages.fr/linux/apt-get.md b/pages.fr/linux/apt-get.md index 18ba1883b..678372c8a 100644 --- a/pages.fr/linux/apt-get.md +++ b/pages.fr/linux/apt-get.md @@ -23,7 +23,7 @@ `apt-get upgrade` -- Nettoyage du dépôt local - supprime les fichiers de paquets (.deb) des téléchargements interrompus qui ne peuvent plus être téléchargés : +- Nettoyage du dépôt local - supprime les fichiers de paquets (`.deb`) des téléchargements interrompus qui ne peuvent plus être téléchargés: `apt-get autoclean` diff --git a/pages.hbs/common/sh.md b/pages.hbs/common/sh.md index 5a2e9ee51..60c834875 100644 --- a/pages.hbs/common/sh.md +++ b/pages.hbs/common/sh.md @@ -15,6 +15,6 @@ `sh {{datoteka.sh}}` -- Pokreni komande iz `stdin`-a: +- Pokreni komande iz stdin-a: `sh -s` diff --git a/pages.hbs/common/tldrl.md b/pages.hbs/common/tldrl.md index e2bc97ef1..4bb0e6757 100644 --- a/pages.hbs/common/tldrl.md +++ b/pages.hbs/common/tldrl.md @@ -7,7 +7,7 @@ `tldrl {{direktorijum_stranica}}` -- Formatiraj određenu stranicu u `stdout`: +- Formatiraj određenu stranicu u stdout: `tldrl -f {{stranica.md}}` diff --git a/pages.id/common/alacritty.md b/pages.id/common/alacritty.md index fdb3a1f84..215091f2d 100644 --- a/pages.id/common/alacritty.md +++ b/pages.id/common/alacritty.md @@ -15,10 +15,10 @@ `alacritty -e {{perintah}}` -- Menentukan berkas konfigurasi alternatif (nilai default $XDG_CONFIG_HOME/alacritty/alacritty.yml): +- Menentukan berkas konfigurasi alternatif (nilai default `$XDG_CONFIG_HOME/alacritty/alacritty.yml`): `alacritty --config-file {{alamat/ke/konfigurasi.yml}}` -- Menjalankan dengan mengaktifkan pemuatan ulang konfigurasi secara langsung/otomatis(dapat juga diaktifkan secara default di alacritty.yml): +- Menjalankan dengan mengaktifkan pemuatan ulang konfigurasi secara langsung/otomatis(dapat juga diaktifkan secara default di `alacritty.yml`): `alacritty --live-config-reload --config-file {{alamat/ke/konfigurasi.yml}}` diff --git a/pages.id/common/java.md b/pages.id/common/java.md index 4fc0c27b3..cd4ba3f77 100644 --- a/pages.id/common/java.md +++ b/pages.id/common/java.md @@ -3,15 +3,15 @@ > Peluncur Aplikasi Java. > Informasi lebih lanjut: . -- Menjalankan berkas java .class yang mengandung method main dengan hanya menggunakan nama class: +- Menjalankan berkas java `.class` yang mengandung method main dengan hanya menggunakan nama class: `java {{nama_class}}` -- Menjalankan program .jar: +- Menjalankan program `.jar`: `java -jar {{nama_berkas.jar}}` -- Menjalankan program .jar dengan menunggu debugger terhubung ke port 5005: +- Menjalankan program `.jar` dengan menunggu debugger terhubung ke port 5005: `java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{nama_berkas.jar}}` diff --git a/pages.id/common/npm.md b/pages.id/common/npm.md index d07c142a9..5077e23b0 100644 --- a/pages.id/common/npm.md +++ b/pages.id/common/npm.md @@ -4,7 +4,7 @@ > Mengelola proyek Node.js dan dependensi modulnya. > Informasi lebih lanjut: . -- Membuat file package.json secara interaktif: +- Membuat file `package.json` secara interaktif: `npm init` @@ -12,7 +12,7 @@ `npm install` -- Unduh versi tertentu dari sebuah paket dan menambahkan ke daftar dependensi di package.json: +- Unduh versi tertentu dari sebuah paket dan menambahkan ke daftar dependensi di `package.json`: `npm install {{nama_modul}}@{{versi}}` @@ -24,7 +24,7 @@ `npm install -g {{nama_modul}}` -- Copot pemasangan paket dan hapus dari daftar dependensi di package.json: +- Copot pemasangan paket dan hapus dari daftar dependensi di `package.json`: `npm uninstall {{nama_modul}}` diff --git a/pages.it/common/ansible.md b/pages.it/common/ansible.md index ae83cf901..40cbdf539 100644 --- a/pages.it/common/ansible.md +++ b/pages.it/common/ansible.md @@ -1,7 +1,7 @@ # ansible > Gestisci gruppi di computer da remoto via SSH. -> Usa il file /etc/ansible/hosts per aggiungere nuovi gruppi/host. +> Usa il file `/etc/ansible/hosts` per aggiungere nuovi gruppi/host. > Maggiori informazioni: . - Lista gli host appartenenti ad un gruppo: diff --git a/pages.it/common/babel.md b/pages.it/common/babel.md index 0aac2241c..064319cae 100644 --- a/pages.it/common/babel.md +++ b/pages.it/common/babel.md @@ -3,7 +3,7 @@ > Un transpiler che converte codice JavaScript da sintassi ES6/ES7 ad ES5. > Maggiori informazioni: . -- Transpila uno specifico file e stampa il risultato su `stdout`: +- Transpila uno specifico file e stampa il risultato su stdout: `babel {{percorso/al/file}}` diff --git a/pages.it/common/banner.md b/pages.it/common/banner.md index c32a14a88..3fc75739c 100644 --- a/pages.it/common/banner.md +++ b/pages.it/common/banner.md @@ -10,6 +10,6 @@ `banner -w {{50}} "{{Hello World}}"` -- Leggi testo da `stdin`: +- Leggi testo da stdin: `banner` diff --git a/pages.it/common/base32.md b/pages.it/common/base32.md index 56fca3b76..1a9814114 100644 --- a/pages.it/common/base32.md +++ b/pages.it/common/base32.md @@ -10,10 +10,10 @@ `base32 -d {{nome_file}}` -- Codifica da `stdin`: +- Codifica da stdin: `{{comando}} | base32` -- Decodifica da `stdin`: +- Decodifica da stdin: `{{comando}} | base32 -d` diff --git a/pages.it/common/base64.md b/pages.it/common/base64.md index 2a62322b1..daf37513b 100644 --- a/pages.it/common/base64.md +++ b/pages.it/common/base64.md @@ -10,10 +10,10 @@ `base64 -d {{nome_file}}` -- Codifica da `stdin`: +- Codifica da stdin: `{{comando}} | base64` -- Decodifica da `stdin`: +- Decodifica da stdin: `{{comando}} | base64 -d` diff --git a/pages.it/common/blender.md b/pages.it/common/blender.md index c53a29601..e59a237e6 100644 --- a/pages.it/common/blender.md +++ b/pages.it/common/blender.md @@ -8,7 +8,7 @@ `blender -b {{nome_file}}.blend -a` -- Renderizza un'animazione usando uno specifico pattern, in un percorso relativo (`//`) al file .blend: +- Renderizza un'animazione usando uno specifico pattern, in un percorso relativo (`//`) al file `.blend`: `blender -b {{nome_file}}.blend -o //{{render/frame_###.png}} -a` diff --git a/pages.it/common/boot.md b/pages.it/common/boot.md index f3e90d00f..b3434023c 100644 --- a/pages.it/common/boot.md +++ b/pages.it/common/boot.md @@ -7,7 +7,7 @@ `boot repl` -- Builda un singolo "uberjar": +- Builda un singolo `uberjar`: `boot jar` diff --git a/pages.it/common/borg.md b/pages.it/common/borg.md index ba598f35f..7e0ddb886 100644 --- a/pages.it/common/borg.md +++ b/pages.it/common/borg.md @@ -16,7 +16,7 @@ `borg list {{/percorso/a/repo_o_directory}}` -- Estrai una specifica directory dall'archivio "Lunedi" in una repository remota, escludendo tutti i file .ext: +- Estrai una specifica directory dall'archivio "Lunedi" in una repository remota, escludendo tutti i file `.ext`: `borg extract {{utente}}@{{host}}:{{/percorso/a/repo_o_directory}}::{{Lunedi}} {{percorso/a/cartella_destinazione}} --exclude '{{*.ext}}'` diff --git a/pages.it/common/bower.md b/pages.it/common/bower.md index 0d36ba75d..c52dfe28e 100644 --- a/pages.it/common/bower.md +++ b/pages.it/common/bower.md @@ -4,7 +4,7 @@ > Un pacchetto può essere una abbreviazione utente/repo GitHub, un endpoint Git, un URL o un pacchetto registrato. > Maggiori informazioni: . -- Installa le dipendenze di un progetto, listate nel suo file bower.json: +- Installa le dipendenze di un progetto, listate nel suo file `bower.json`: `bower install` @@ -28,6 +28,6 @@ `bower init` -- Installa unoa specifica versione di una dipendenza ed aggiungila al file bower.json: +- Installa unoa specifica versione di una dipendenza ed aggiungila al file `bower.json`: `bower install {{nome_locale}}={{pacchetto}}#{{versione}} --save` diff --git a/pages.it/common/bundle.md b/pages.it/common/bundle.md index 360447bba..1a4a3846d 100644 --- a/pages.it/common/bundle.md +++ b/pages.it/common/bundle.md @@ -7,7 +7,7 @@ `bundle install` -- Aggiorna tutte le gem secondo le regole definite nel gemfile e genera un gemfile.lock: +- Aggiorna tutte le gem secondo le regole definite nel gemfile e genera un `gemfile.lock`: `bundle update` diff --git a/pages.it/common/command.md b/pages.it/common/command.md index dd4babf48..7fff6c7d1 100644 --- a/pages.it/common/command.md +++ b/pages.it/common/command.md @@ -2,6 +2,6 @@ > Command forza la shell ad eseguire programmi ignorando qualsiasi funzione, builtin e alias con lo stesso nome. -- Esegui il comando ls letteralmente, anche se esiste un alias ls: +- Esegui il comando `ls` letteralmente, anche se esiste un alias `ls`: `command {{ls}}` diff --git a/pages.it/common/cppclean.md b/pages.it/common/cppclean.md index 2d2153167..4d4e84c80 100644 --- a/pages.it/common/cppclean.md +++ b/pages.it/common/cppclean.md @@ -11,7 +11,7 @@ `cppclean {{percorso/a/directory_progetto}} --include-path={{inc1}} --include-path={{inc2}}` -- Esegui su di uno specifico file "main.cpp": +- Esegui su di uno specifico file `main.cpp`: `cppclean {{main.cpp}}` diff --git a/pages.it/common/csc.md b/pages.it/common/csc.md index 15a71dcc6..84079e2fe 100644 --- a/pages.it/common/csc.md +++ b/pages.it/common/csc.md @@ -11,7 +11,7 @@ `csc /out:{{percorso/al/nome_file_output}} {{percorso/al/file_input.cs}}` -- Compila in una libreria '.dll' invece che in un eseguibile: +- Compila in una libreria `.dll` invece che in un eseguibile: `csc /target:library {{percorso/al/file_input.cs}}` diff --git a/pages.it/common/cut.md b/pages.it/common/cut.md index ea8c5010f..4d38b41fa 100644 --- a/pages.it/common/cut.md +++ b/pages.it/common/cut.md @@ -1,8 +1,8 @@ # cut -> Taglia dividendo in campi `stdin` o file. +> Taglia dividendo in campi stdin o file. -- Estrai i primi 16 caratteri di ogni riga da `stdin`: +- Estrai i primi 16 caratteri di ogni riga da stdin: `cut -c {{1-16}}` diff --git a/pages.it/common/dep.md b/pages.it/common/dep.md index 975afff50..fc97cba3a 100644 --- a/pages.it/common/dep.md +++ b/pages.it/common/dep.md @@ -7,7 +7,7 @@ `dep init` -- Installa dipendenze mancanti (scannerizza Gopkg.toml ed i file .go): +- Installa dipendenze mancanti (scannerizza `Gopkg.toml` ed i file `.go`): `dep ensure` @@ -19,6 +19,6 @@ `dep ensure -add {{url_pacchetto}}` -- Aggiorna le versioni bloccate (in Gopkg.lock) di tutte le dipendenze: +- Aggiorna le versioni bloccate (in `Gopkg.lock`) di tutte le dipendenze: `dep ensure -update` diff --git a/pages.it/common/doxygen.md b/pages.it/common/doxygen.md index 05a894507..4a42c95c7 100644 --- a/pages.it/common/doxygen.md +++ b/pages.it/common/doxygen.md @@ -3,7 +3,7 @@ > Un sistema di documentazione per diversi linguaggi di programmazione. > Maggiori informazioni: . -- Genera il modello di configurazione di default "Doxyfile": +- Genera il modello di configurazione di default `Doxyfile`: `doxygen -g` diff --git a/pages.it/common/du.md b/pages.it/common/du.md index 8f5df2e58..613c16795 100644 --- a/pages.it/common/du.md +++ b/pages.it/common/du.md @@ -22,6 +22,6 @@ `du -h --max-depth=N {{percorso/alla/directory}}` -- Mostra le dimensioni umanamente leggibili di tutti i file .jpg nelle sottocartelle della cartella corrente, e mostra il totale cumulativo alla fine: +- Mostra le dimensioni umanamente leggibili di tutti i file `.jpg` nelle sottocartelle della cartella corrente, e mostra il totale cumulativo alla fine: `du -ch */*.jpg` diff --git a/pages.it/common/elm.md b/pages.it/common/elm.md index 33e25c2ae..d87ffd684 100644 --- a/pages.it/common/elm.md +++ b/pages.it/common/elm.md @@ -3,7 +3,7 @@ > Compila ed esegui file sorgente Elm. > Maggiori informazioni: . -- Inizializza un progetto Elm, generando un file elm.json: +- Inizializza un progetto Elm, generando un file `elm.json`: `elm init` @@ -11,7 +11,7 @@ `elm repl` -- Compila un file Elm, scrivendo il risultato in un file index.html: +- Compila un file Elm, scrivendo il risultato in un file `index.html`: `elm make {{sorgente}}` diff --git a/pages.it/common/envsubst.md b/pages.it/common/envsubst.md index 1b1d5745c..cbe18a1e1 100644 --- a/pages.it/common/envsubst.md +++ b/pages.it/common/envsubst.md @@ -3,11 +3,11 @@ > Sostituisci variabili di ambiente con il loro valore in stringhe di formato della shell. > Le variabili da sostituire devono essere nella forma `${var}` oppure `$var`. -- Sostituisci variabili di ambiente in `stdin` e stampa l'output su `stdout`: +- Sostituisci variabili di ambiente in stdin e stampa l'output su stdout: `echo '{{$HOME}}' | envsubst` -- Sostituisci variabili di ambiente in un file input e stampa l'output su `stdout`: +- Sostituisci variabili di ambiente in un file input e stampa l'output su stdout: `envsubst < {{percorso/a/file_input}}` diff --git a/pages.it/common/ffmpeg.md b/pages.it/common/ffmpeg.md index 26ef4bb61..4c2f5fdb4 100644 --- a/pages.it/common/ffmpeg.md +++ b/pages.it/common/ffmpeg.md @@ -11,7 +11,7 @@ `ffmpeg -i {{video.mpg|video.gif}} {{foto_%d.png}}` -- Sequenzia immagini numerate (foto_1.jpg, foto_2.jpg, ecc) per creare un video o una GIF: +- Sequenzia immagini numerate (`foto_1.jpg`, `foto_2.jpg`, ecc) per creare un video o una GIF: `ffmpeg -i {{frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` diff --git a/pages.it/common/git-am.md b/pages.it/common/git-am.md index a4f114d37..38619d884 100644 --- a/pages.it/common/git-am.md +++ b/pages.it/common/git-am.md @@ -12,6 +12,6 @@ `git am --abort` -- Applica quanto possibile di un file di patch, salvando le parti non applicabili in file .rej: +- Applica quanto possibile di un file di patch, salvando le parti non applicabili in file `.rej`: `git am --reject {{percorso/al/file.patch}}` diff --git a/pages.it/common/git-check-ignore.md b/pages.it/common/git-check-ignore.md index 45226361d..499a908ec 100644 --- a/pages.it/common/git-check-ignore.md +++ b/pages.it/common/git-check-ignore.md @@ -11,7 +11,7 @@ `git check-ignore {{percorso/al/file}} {{percorso/alla/cartella}}` -- Leggi i percorsi di file o cartelle da `stdin` (uno per riga) invece che dalla riga di comando: +- Leggi i percorsi di file o cartelle da stdin (uno per riga) invece che dalla riga di comando: `git check-ignore --stdin < {{percorso/alla/lista_dei_file_o_cartelle}}` diff --git a/pages.it/common/git-format-patch.md b/pages.it/common/git-format-patch.md index 3cd64bef8..22d7f397f 100644 --- a/pages.it/common/git-format-patch.md +++ b/pages.it/common/git-format-patch.md @@ -4,14 +4,14 @@ > Vedi anche `git am`, che permette di applicare file .patch. > Maggiori informazioni: . -- Crea un file .patch (il nome è assegnato automaticamente) con i commit non ancora inviati al repository remoto: +- Crea un file `.patch` (il nome è assegnato automaticamente) con i commit non ancora inviati al repository remoto: `git format-patch {{origin}}` -- Scrivi su `stdout` un file .patch per l'intervallo di commit definito dai due commit dati: +- Scrivi su stdout un file `.patch` per l'intervallo di commit definito dai due commit dati: `git format-patch --stdout {{commit_1}}..{{commit_2}}` -- Scrivi un file .patch per gli ultimi 3 commit: +- Scrivi un file `.patch` per gli ultimi 3 commit: `git format-patch -{{3}}` diff --git a/pages.it/common/git-ignore.md b/pages.it/common/git-ignore.md index 977cb9785..fe5657953 100644 --- a/pages.it/common/git-ignore.md +++ b/pages.it/common/git-ignore.md @@ -7,6 +7,6 @@ `git ignore list` -- Genera un template .gitignore: +- Genera un template `.gitignore`: `git ignore {{elemento_a,elemento_b,elemento_n}}` diff --git a/pages.it/common/git-prune.md b/pages.it/common/git-prune.md index 3d08d86b0..6753110d1 100644 --- a/pages.it/common/git-prune.md +++ b/pages.it/common/git-prune.md @@ -8,7 +8,7 @@ `git prune --dry-run` -- Elimina gli oggetti non raggiungibili e stampane un elenco su `stdout`: +- Elimina gli oggetti non raggiungibili e stampane un elenco su stdout: `git prune --verbose` diff --git a/pages.it/common/mount.md b/pages.it/common/mount.md index b2c4e969e..a300b878d 100644 --- a/pages.it/common/mount.md +++ b/pages.it/common/mount.md @@ -10,15 +10,15 @@ `mount -t {{tipo_di_filesystem}} {{percorso/al/dispositivo}} {{percorso/alla/cartella_desiderata}}` -- Monta un CD-ROM (con il filetypo ISO9660) a /cdrom (sola lettura): +- Monta un CD-ROM (con il filetypo ISO9660) a `/cdrom` (sola lettura): `mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}` -- Monta tutti i filesystem definiti in /etc/fstab: +- Monta tutti i filesystem definiti in `/etc/fstab`: `mount -a` -- Monta un filesystem specifico descritto in /etc/fstab (ad esempio "dev/sda1 /my_drive ext2 defaults 0 2"): +- Monta un filesystem specifico descritto in `/etc/fstab` (ad esempio `/dev/sda1 /my_drive ext2 defaults 0 2`): `mount {{/my_drive}}` diff --git a/pages.it/osx/apachectl.md b/pages.it/osx/apachectl.md index fb28efc1f..4c9db6dd6 100644 --- a/pages.it/osx/apachectl.md +++ b/pages.it/osx/apachectl.md @@ -2,7 +2,7 @@ > Interfaccia di controllo del server HTTP Apache per macOS. -- Avvia il demone org.apache.httpd: +- Avvia il demone `org.apache.httpd`: `apachectl start` diff --git a/pages.it/osx/as.md b/pages.it/osx/as.md index 53725c810..fe5b3a667 100644 --- a/pages.it/osx/as.md +++ b/pages.it/osx/as.md @@ -15,6 +15,6 @@ `as -f {{file.s}}` -- Includi un percorso dato alla lista delle cartelle in cui cercare i file specificati nelle direttive .include: +- Includi un percorso dato alla lista delle cartelle in cui cercare i file specificati nelle direttive `.include`: `as -I {{path/to/directory}} {{file.s}}` diff --git a/pages.it/osx/base64.md b/pages.it/osx/base64.md index 821172a83..fdfd61501 100644 --- a/pages.it/osx/base64.md +++ b/pages.it/osx/base64.md @@ -10,10 +10,10 @@ `base64 -D -i {{file_da_decodificare}}` -- Codifica da `stdin`: +- Codifica da stdin: `echo -n {{testo_da_codificare}} | base64` -- Decodifica da `stdin`: +- Decodifica da stdin: `echo -n {{testo_da_decodificare}} | base64 -D` diff --git a/pages.ja/common/du.md b/pages.ja/common/du.md index dc743f2ff..bb5cebeb5 100644 --- a/pages.ja/common/du.md +++ b/pages.ja/common/du.md @@ -22,6 +22,6 @@ `du -h --max-depth=N {{path/to/directory}}` -- 人間にとって解釈しやすい形式で、現在のディレクトリおよびその下のディレクトリに含まれる全ての .jpg ファイルサイズを表示し、最後に合計を表示します。 +- 人間にとって解釈しやすい形式で、現在のディレクトリおよびその下のディレクトリに含まれる全ての `.jpg` ファイルサイズを表示し、最後に合計を表示します。 `du -ch */*.jpg` diff --git a/pages.ko/common/alex.md b/pages.ko/common/alex.md index 6ff98c35b..438b4655f 100644 --- a/pages.ko/common/alex.md +++ b/pages.ko/common/alex.md @@ -4,7 +4,7 @@ > 이것은 당신이 선호 성별, 양극화, 인종 관련, 종교에 대한 고려가 불분명하거나 다른 문구가 아닌 문구를 찾는데 도움이 됩니다. > 더 많은 정보: . -- `stdin`으로부터 텍스트 분석: +- stdin으로부터 텍스트 분석: `echo {{His network looks good}} | alex --stdin` diff --git a/pages.ko/common/ansible.md b/pages.ko/common/ansible.md index 14f99b5be..c5dcbb2f7 100644 --- a/pages.ko/common/ansible.md +++ b/pages.ko/common/ansible.md @@ -1,7 +1,7 @@ # ansible > SSH를 통해 컴퓨터 그룹을 원격으로 관리. -> /etc/ansible/hosts 파일을 사용하여 새 그룹/호스트를 추가하십시오. +> `/etc/ansible/hosts` 파일을 사용하여 새 그룹/호스트를 추가하십시오. > 더 많은 정보: . - 그룹에 속한 호스트 목록: diff --git a/pages.ko/common/awk.md b/pages.ko/common/awk.md index 780fdb97d..7a8057f91 100644 --- a/pages.ko/common/awk.md +++ b/pages.ko/common/awk.md @@ -7,10 +7,9 @@ `awk '{print $5}' {{filename}}` +- 공백으로 구분 된 파일에서 `foo`을 포함한 두 번째 열 출력하기: -- 공백으로 구분 된 파일에서 "something"을 포함한 두 번째 열 출력하기: - -`awk '/{{something}}/ {print $2}' {{filename}}` +`awk '/{{foo}}/ {print $2}' {{filename}}` - 공백이 아닌 쉼표를 필드 구분 기호로 사용한 파일에서 각 줄의 마지막 열을 출력하기: diff --git a/pages.ko/common/b2sum.md b/pages.ko/common/b2sum.md index ff06eda06..6517573a5 100644 --- a/pages.ko/common/b2sum.md +++ b/pages.ko/common/b2sum.md @@ -15,6 +15,6 @@ `b2sum -c {{filename.b2}}` -- `stdin`에서 BLACK2 체크섬 계산: +- stdin에서 BLACK2 체크섬 계산: `{{somecommand}} | b2sum` diff --git a/pages.ko/common/banner.md b/pages.ko/common/banner.md index 79c84d929..f50847883 100644 --- a/pages.ko/common/banner.md +++ b/pages.ko/common/banner.md @@ -10,6 +10,6 @@ `banner -w {{50}} "{{Hello World}}"` -- `stdin`에서 텍스트 읽기: +- stdin에서 텍스트 읽기: `banner` diff --git a/pages.ko/common/base32.md b/pages.ko/common/base32.md index b3d604dfc..fcceaf5d6 100644 --- a/pages.ko/common/base32.md +++ b/pages.ko/common/base32.md @@ -10,11 +10,11 @@ `base32 -d {{filename}}` -- `stdin`에서 인코딩: +- stdin에서 인코딩: `{{somecommand}} | base32` -- `stdin`에서 디코딩: +- stdin에서 디코딩: `{{somecommand}} | base32 -d` diff --git a/pages.ko/common/base64.md b/pages.ko/common/base64.md index ebace5b6b..75279cb5d 100644 --- a/pages.ko/common/base64.md +++ b/pages.ko/common/base64.md @@ -10,10 +10,10 @@ `base64 -d {{filename}}` -- `stdin`에서 인코딩: +- stdin에서 인코딩: `{{somecommand}} | base64` -- `stdin`에서 디코딩: +- stdin에서 디코딩: `{{somecommand}} | base64 -d` diff --git a/pages.ko/common/bash.md b/pages.ko/common/bash.md index 543f36419..e7ad8cab0 100644 --- a/pages.ko/common/bash.md +++ b/pages.ko/common/bash.md @@ -23,7 +23,7 @@ `bash -e {{file.sh}}` -- `stdin`에서 명령 실행: +- stdin에서 명령 실행: `bash -s` diff --git a/pages.ko/common/bedtools.md b/pages.ko/common/bedtools.md index 654718d6f..549ad3fe7 100644 --- a/pages.ko/common/bedtools.md +++ b/pages.ko/common/bedtools.md @@ -3,11 +3,11 @@ > 유전자 분석 작업을 위한 도구의 swiss-army knife. BAM, BED, GFF/GTF, VCF 형식으로 데이터를 교차, 그룹화, 변환 및 카운트하는 데 사용. > 더 많은 정보: . -- sequence의 strand를 기준으로 두개의 파일을 교차하고 결과를 {{path/to/output_file}}의 경로에 저장: +- sequence의 strand를 기준으로 두개의 파일을 교차하고 결과를 `path/to/output_file`의 경로에 저장: `bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -s > {{path/to/output_file}}` -- 외부 조인이 왼쪽인 두개의 파일을 교차, 예시. {{file_1}}에서 각 기능을 보고하고 {{file_2}}와 겹치지 않으면 NULL: +- 외부 조인이 왼쪽인 두개의 파일을 교차, 예시. `file_1`에서 각 기능을 보고하고 `file_2`와 겹치지 않으면 NULL: `bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -lof > {{path/to/output_file}}` @@ -15,7 +15,7 @@ `bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -sorted > {{path/to/output_file}}` -- 첫 3열과 5열을 기준으로 {{path/to/file}}을 그룹화하여 6열을 요약: +- 첫 3열과 5열을 기준으로 `path/to/file`을 그룹화하여 6열을 요약: `bedtools groupby -i {{path/to/file}} -c 1-3,5 -g 6 -o sum` @@ -23,6 +23,6 @@ `bedtools bamtobed -i {{path/to/file}}.bam > {{path/to/file}}.bed` -- {{file_2}}.bed와 가장 가까운 {{file_1}}.bed에서의 모든 기능을 찾고,그들의 거리와 추가 열을 기록 (입력 파일 정렬 필요): +- `file_2.bed`와 가장 가까운 `file_1.bed`에서의 모든 기능을 찾고,그들의 거리와 추가 열을 기록 (입력 파일 정렬 필요): `bedtools closest -a {{path/to/file_1}}.bed -b {{path/to/file_2}}.bed -d` diff --git a/pages.ko/common/clamscan.md b/pages.ko/common/clamscan.md index b34587c8d..b65563cd4 100644 --- a/pages.ko/common/clamscan.md +++ b/pages.ko/common/clamscan.md @@ -11,7 +11,7 @@ `clamscan -r {{경로/디렉토리}}` -- `stdin` 으로부터 데이터를 검사합니다: +- stdin 으로부터 데이터를 검사합니다: `{{명령어}} | clamscan -` diff --git a/pages.ko/common/comm.md b/pages.ko/common/comm.md index 03cc7c79e..406348633 100644 --- a/pages.ko/common/comm.md +++ b/pages.ko/common/comm.md @@ -11,7 +11,7 @@ `comm -12 {{파일1}} {{파일2}}` -- `stdin`으로 읽어드린 하나의 파일과 나머지 파일의 공통된 줄들만 출력: +- stdin으로 읽어드린 하나의 파일과 나머지 파일의 공통된 줄들만 출력: `cat {{파일1}} | comm -12 - {{파일2}}` diff --git a/pages.ko/common/command.md b/pages.ko/common/command.md index b51d6918c..f3eca9484 100644 --- a/pages.ko/common/command.md +++ b/pages.ko/common/command.md @@ -2,6 +2,6 @@ > Command 명령은 쉘이 프로그램을 실행하고 동일한 이름의 기능, 빌드인 및 별칭을 무시하도록 합니다. -- ls 별칭이 존재하더라도 문자 그대로 ls 프로그램을 실행: +- ls 별칭이 존재하더라도 문자 그대로 `ls` 프로그램을 실행: `command {{ls}}` diff --git a/pages.ko/common/cppclean.md b/pages.ko/common/cppclean.md index 7336e70a9..ea8a9d145 100644 --- a/pages.ko/common/cppclean.md +++ b/pages.ko/common/cppclean.md @@ -7,14 +7,14 @@ `cppclean {{프로젝트/의/경로}}` -- 헤더가 "inc1/" 및 "inc2/" 디렉토리에 있는 프로젝트에서 실행: +- 헤더가 `inc1/` 및 `inc2/` 디렉토리에 있는 프로젝트에서 실행: `cppclean {{프로젝트/의/경로}} --include-path={{inc1}} --include-path={{inc2}}` -- 특정 팡리 "main.cpp"에서 실행: +- 특정 팡리 `main.cpp`에서 실행: `cppclean {{main.cpp}}` -- "build"디렉토리를 제외한 현재 디렉토리에서 실행: +- `build`디렉토리를 제외한 현재 디렉토리에서 실행: `cppclean {{.}} --exclude={{build}}` diff --git a/pages.ko/common/cut.md b/pages.ko/common/cut.md index dab30afa4..e3c6f641c 100644 --- a/pages.ko/common/cut.md +++ b/pages.ko/common/cut.md @@ -1,8 +1,8 @@ # cut -> `stdin` 혹은 파일에서 출력 필드를 자른다. +> stdin 혹은 파일에서 출력 필드를 자른다. -- `stdin`의 각 라인에 첫번째 16개의 문자를 자르기: +- stdin의 각 라인에 첫번째 16개의 문자를 자르기: `cut -c {{1-16}}` diff --git a/pages.nl/common/base64.md b/pages.nl/common/base64.md index fc6524530..db8d5e99f 100644 --- a/pages.nl/common/base64.md +++ b/pages.nl/common/base64.md @@ -10,10 +10,10 @@ `base64 -d {{bestandsnaam}}` -- Codeer `stdin`: +- Codeer stdin: `{{eencommando}} | base64` -- Decodeer `stdin`: +- Decodeer stdin: `{{eencommando}} | base64 -d` diff --git a/pages.pl/common/babel.md b/pages.pl/common/babel.md index 0d541952e..17e8ce204 100644 --- a/pages.pl/common/babel.md +++ b/pages.pl/common/babel.md @@ -3,7 +3,7 @@ > Transpiler, który konwertuje kod ze składni JavaScript ES6 / ES7 na składnię ES5. > Więcej informacji: . -- Transpiluj określony plik wejściowy i dane wyjściowe do `stdout`: +- Transpiluj określony plik wejściowy i dane wyjściowe do stdout: `babel {{siezka/do/pliku}}` diff --git a/pages.pl/common/base32.md b/pages.pl/common/base32.md index a223c55db..d52b7e6f4 100644 --- a/pages.pl/common/base32.md +++ b/pages.pl/common/base32.md @@ -10,10 +10,10 @@ `base32 -d {{nazwapliku}}` -- Enkoduj z `stdin`: +- Enkoduj z stdin: `{{jakiespolecenie}} | base32` -- Dekoduj z `stdin`: +- Dekoduj z stdin: `{{jakiespolecenie}} | base32 -d` diff --git a/pages.pl/common/base64.md b/pages.pl/common/base64.md index 325834998..6c442fdb6 100644 --- a/pages.pl/common/base64.md +++ b/pages.pl/common/base64.md @@ -10,10 +10,10 @@ `base64 -d {{nazwapliku}}` -- Enkoduj z `stdin`: +- Enkoduj z stdin: `{{jakiespolecenie}} | base64` -- Dekoduj z `stdin`: +- Dekoduj z stdin: `{{jakiespolecenie}} | base64 -d` diff --git a/pages.pl/common/http.md b/pages.pl/common/http.md index 48888330e..55648956c 100644 --- a/pages.pl/common/http.md +++ b/pages.pl/common/http.md @@ -27,6 +27,6 @@ `http -a {{nazwauzytkownika:haslo}} {{przyklad.org}}` -- Określ surowe ciało żądania za pośrednictwem `stdin`: +- Określ surowe ciało żądania za pośrednictwem stdin: `cat {{dane.txt}} | http PUT {{przyklad.org}}` diff --git a/pages.pl/common/sudo.md b/pages.pl/common/sudo.md index e2bef0aa2..e7d28b64d 100644 --- a/pages.pl/common/sudo.md +++ b/pages.pl/common/sudo.md @@ -14,7 +14,7 @@ `sudo -u {{uzytkownik}} -g {{grupa}} {{id -a}}` -- Powtórz ostatnie polecenie poprzedzone "sudo" (tylko w bash, zsh, etc.): +- Powtórz ostatnie polecenie poprzedzone `sudo` (tylko w `bash`, `zsh`, etc.): `sudo !!` diff --git a/pages.pt_BR/common/docker-start.md b/pages.pt_BR/common/docker-start.md index e79269db3..4e8cb2023 100644 --- a/pages.pt_BR/common/docker-start.md +++ b/pages.pt_BR/common/docker-start.md @@ -11,7 +11,7 @@ `docker start {{container}}` -- Inicia um container, atachando ao terminal os sinais `stdout` e `stderr` e outros sinais: +- Inicia um container, atachando ao terminal os sinais stdout e stderr e outros sinais: `docker start --attach {{container}}` diff --git a/pages.pt_BR/common/gpg.md b/pages.pt_BR/common/gpg.md index 13e9cb21f..9bfb66e0b 100644 --- a/pages.pt_BR/common/gpg.md +++ b/pages.pt_BR/common/gpg.md @@ -7,15 +7,15 @@ `gpg --clearsign {{doc.txt}}` -- Criptografa doc.txt para alice@example.com (cria um arquivo de saída doc.txt.gpg): +- Criptografa doc.txt para alice@example.com (cria um arquivo de saída `doc.txt.gpg`): `gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}` -- Criptografa doc.txt apenas com uma senha simétrica (cria um arquivo de sadída doc.txt.gpg): +- Criptografa doc.txt apenas com uma senha simétrica (cria um arquivo de sadída `doc.txt.gpg`): `gpg --symmetric {{doc.txt}}` -- Descriptografa doc.txt.gpg (envia saída para `stdout`): +- Descriptografa doc.txt.gpg (envia saída para stdout): `gpg --decrypt {{doc.txt.gpg}}` @@ -23,10 +23,10 @@ `gpg --import {{public.gpg}}` -- Exporta a chave pública da alice@example.com (envia saída para `stdout`): +- Exporta a chave pública da alice@example.com (envia saída para stdout): `gpg --export --armor {{alice@example.com}}` -- Exporta chave privada da alice@example.com (envia saída para `stdout`): +- Exporta chave privada da alice@example.com (envia saída para stdout): `gpg --export-secret-keys --armor {{alice@example.com}}` diff --git a/pages.pt_BR/windows/choco-install.md b/pages.pt_BR/windows/choco-install.md index 5c4449e6d..35daa5486 100644 --- a/pages.pt_BR/windows/choco-install.md +++ b/pages.pt_BR/windows/choco-install.md @@ -11,7 +11,7 @@ `choco install {{caminho/para/os/pacotes.config}}` -- Instalar um arquivo específico "nuspec" ou "nupkg": +- Instalar um arquivo específico `nuspec` ou `nupkg`: `choco install {{caminho/para/o/arquivo}}` diff --git a/pages.ru/common/unzip.md b/pages.ru/common/unzip.md index 4242d2ecc..f3368eb60 100644 --- a/pages.ru/common/unzip.md +++ b/pages.ru/common/unzip.md @@ -14,7 +14,7 @@ `unzip -l {{архив.zip}}` -- Извлечь содержимое файла в `stdout` вместе с именами распакованных файлов: +- Извлечь содержимое файла в stdout вместе с именами распакованных файлов: `unzip -c {{архив.zip}}` diff --git a/pages.sv/common/rev.md b/pages.sv/common/rev.md index 9769f23ba..e8578fd42 100644 --- a/pages.sv/common/rev.md +++ b/pages.sv/common/rev.md @@ -6,6 +6,6 @@ `echo "hello" | rev` -- Omvänd hel fil och skriv till `stdout`: +- Omvänd hel fil och skriv till stdout: `rev {{fil}}` diff --git a/pages.ta/common/git-check-ignore.md b/pages.ta/common/git-check-ignore.md index 18a64df79..fbdebaedb 100644 --- a/pages.ta/common/git-check-ignore.md +++ b/pages.ta/common/git-check-ignore.md @@ -11,7 +11,7 @@ `git check-ignore {{கோப்புக்கான_பாதை}} {{கோப்புறைக்கான_பாதை}}` -- `stdin` இலிருந்து ஒரு வரியில் ஒன்றுக்கு பாதை பெயர்களைப் பயன்படுத்தவும்: +- stdin இலிருந்து ஒரு வரியில் ஒன்றுக்கு பாதை பெயர்களைப் பயன்படுத்தவும்: `git check-ignore --stdin < {{கோப்பு_பட்டியலுக்கான/பாதை}}` diff --git a/pages.ta/common/javac.md b/pages.ta/common/javac.md index b341377a2..7b1ce7017 100644 --- a/pages.ta/common/javac.md +++ b/pages.ta/common/javac.md @@ -2,18 +2,18 @@ > ஜாவா நிரல்மொழிமாற்றி. -- .java கோப்பை நிரல்மொழிமாற்ற: +- `.java` கோப்பை நிரல்மொழிமாற்ற: `javac {{கோப்பு.java}}` -- பல .java கோப்புகளை நிரல்மொழிமாற்ற: +- பல `.java` கோப்புகளை நிரல்மொழிமாற்ற: `javac {{கோப்பு1.java}} {{கோப்பு2.java}} {{கோப்பு3.java}}` -- தற்போதைய கோப்பகத்தில் அனைத்து .java கோப்புகளையும் நிரல்மொழிமாற்ற: +- தற்போதைய கோப்பகத்தில் அனைத்து `.java` கோப்புகளையும் நிரல்மொழிமாற்ற: `javac {{*.java}}` -- ஒரு .java கோப்பை நிரல்மொழிமாற்றி, அதன் விளைவாக வரும் .class கோப்பை ஒரு குறிப்பிட்ட கோப்பகத்தில் வைக்கவும்: +- ஒரு `.java` கோப்பை நிரல்மொழிமாற்றி, அதன் விளைவாக வரும் `.class` கோப்பை ஒரு குறிப்பிட்ட கோப்பகத்தில் வைக்கவும்: `javac -d {{கோப்புறையை/குறிவைக்கும்/பாதை}} {{கோப்பு.java}}` diff --git a/pages.zh/common/ansible.md b/pages.zh/common/ansible.md index 5149f5445..52ed1fa9e 100644 --- a/pages.zh/common/ansible.md +++ b/pages.zh/common/ansible.md @@ -1,7 +1,7 @@ # ansible > 通过 SSH 协议远程管理计算机组. -> 使用 /etc/ansible/hosts 文件来添加组 / 主机. +> 使用 `/etc/ansible/hosts` 文件来添加组 / 主机. > 主页:. - 列出给定组下的所有主机: diff --git a/pages.zh/common/banner.md b/pages.zh/common/banner.md index 6fa6e8ad7..a6fe5732f 100644 --- a/pages.zh/common/banner.md +++ b/pages.zh/common/banner.md @@ -10,6 +10,6 @@ `banner -w {{50}} "{{Hello World}}"` -- 从 `stdin` 中读取文本: +- 从 stdin 中读取文本: `banner` diff --git a/pages.zh/common/bash.md b/pages.zh/common/bash.md index 67c53ad45..162eb1623 100644 --- a/pages.zh/common/bash.md +++ b/pages.zh/common/bash.md @@ -24,7 +24,7 @@ `bash -e {{file.sh}}` -- 从输入 (`stdin`) 读取命令: +- 从输入 (stdin) 读取命令: `bash -s` diff --git a/pages.zh/common/javac.md b/pages.zh/common/javac.md index 67bf8db9e..5e502b264 100644 --- a/pages.zh/common/javac.md +++ b/pages.zh/common/javac.md @@ -2,18 +2,18 @@ > Java 程序编译器. -- 编译一个 .java 文件: +- 编译一个 `.java` 文件: `javac {{文件名.java}}` -- 编译多个 .java 文件: +- 编译多个 `.java` 文件: `javac {{文件名1.java}} {{文件名2.java}} {{文件名3.java}}` -- 编译当前目录内所有 .java 文件: +- 编译当前目录内所有 `.java` 文件: `javac {{*.java}}` -- 编译一个 .java 文件并将生成的 class 字节码文件放入一个指定目录: +- 编译一个 `.java` 文件并将生成的 class 字节码文件放入一个指定目录: `javac -d {{输出目录}} {{文件名.java}}` diff --git a/pages.zh/common/zstd.md b/pages.zh/common/zstd.md index 218c8d0a4..c5c10d325 100644 --- a/pages.zh/common/zstd.md +++ b/pages.zh/common/zstd.md @@ -11,7 +11,7 @@ `zstd -d {{file}}.zst` -- 将文件解压缩到标准输出 (`stdout`): +- 将文件解压缩到标准输出 (stdout): `zstd -dc {{file}}.zst` diff --git a/pages.zh/osx/command.md b/pages.zh/osx/command.md index 37faf65ec..defa9031b 100644 --- a/pages.zh/osx/command.md +++ b/pages.zh/osx/command.md @@ -2,6 +2,6 @@ > 命令强制 shell 执行命令程序,并忽略具有相同名称的任何函数、内置函数和别名(会忽略掉一切别名,执行命令本身). -- 从字面上执行 ls 程序,即使存在 ls 别名: +- 从字面上执行 `ls` 程序,即使存在 ls 别名: `command {{ls}}` diff --git a/pages.zh/osx/ssh-add.md b/pages.zh/osx/ssh-add.md index 075500206..71076e47b 100644 --- a/pages.zh/osx/ssh-add.md +++ b/pages.zh/osx/ssh-add.md @@ -3,7 +3,7 @@ > 在 ssh 代理中管理加载的 ssh 密钥. > 需要确保 ssh 代理已启动并正在运行以加载其中的密钥. -- 将 "~/.ssh" 中的默认 ssh 密钥添加到 ssh 代理: +- 将 `~/.ssh` 中的默认 ssh 密钥添加到 `ssh` 代理: `ssh-add` diff --git a/pages.zh/osx/textutil.md b/pages.zh/osx/textutil.md index 8fa3f49c3..bd321b03c 100644 --- a/pages.zh/osx/textutil.md +++ b/pages.zh/osx/textutil.md @@ -2,11 +2,11 @@ > 用于操作各种格式的文本文件. -- 显示有关 foo.rtf 的信息: +- 显示有关 `foo.rtf` 的信息: `textutil -info {{foo.rtf}}` -- 将 foo.rtf 转换为 foo.html: +- 将 `foo.rtf` 转换为 `foo.html`: `textutil -convert {{html}} {{foo.rtf}}` @@ -14,10 +14,10 @@ `textutil {{foo.rtf}} -convert {{txt}}` -- 将 foo.txt 转换为 foo.rtf, 字体使用 Times 字号 10: +- 将 `foo.txt` 转换为 `foo.rtf`, 字体使用 Times 字号 10: `textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}` -- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 index.html 写入,HTML 标题设置为"多个文件": +- 加载当前目录中的所有 RTF 文件,连接其内容,并将结果作为 `index.html` 写入,HTML 标题设置为"多个文件": `textutil -cat {{html}} -title "多个文件" -output {{index.html}} *.rtf` diff --git a/pages.zh/osx/yank.md b/pages.zh/osx/yank.md index 5cb7fc325..f0a6d5d4a 100644 --- a/pages.zh/osx/yank.md +++ b/pages.zh/osx/yank.md @@ -1,6 +1,6 @@ # yank -> 从 `stdin` 读取输入并显示一个选择界面,该界面允许选择一个字段并将其复制到剪贴板. +> 从 stdin 读取输入并显示一个选择界面,该界面允许选择一个字段并将其复制到剪贴板. - 使用默认分隔符 (\f, \n, \r, \s, \t): diff --git a/pages/common/alex.md b/pages/common/alex.md index eadc8c5e0..89bb46a1b 100644 --- a/pages/common/alex.md +++ b/pages/common/alex.md @@ -4,7 +4,7 @@ > It helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing in text. > More information: . -- Analyze text from `stdin`: +- Analyze text from stdin: `echo {{His network looks good}} | alex --stdin` diff --git a/pages/common/ansible.md b/pages/common/ansible.md index 2c223f1e7..6ead52e92 100644 --- a/pages/common/ansible.md +++ b/pages/common/ansible.md @@ -1,7 +1,7 @@ # ansible > Manage groups of computers remotely over SSH. -> Use the /etc/ansible/hosts file to add new groups/hosts. +> Use the `/etc/ansible/hosts` file to add new groups/hosts. > More information: . - List hosts belonging to a group: diff --git a/pages/common/awk.md b/pages/common/awk.md index 36171167c..d77ac4dd6 100644 --- a/pages/common/awk.md +++ b/pages/common/awk.md @@ -7,9 +7,9 @@ `awk '{print $5}' {{filename}}` -- Print the second column of the lines containing "something" in a space-separated file: +- Print the second column of the lines containing "foo" in a space-separated file: -`awk '/{{something}}/ {print $2}' {{filename}}` +`awk '/{{foo}}/ {print $2}' {{filename}}` - Print the last column of each line in a file, using a comma (instead of space) as a field separator: diff --git a/pages/common/b2sum.md b/pages/common/b2sum.md index 9b0520cb5..d0d0e3406 100644 --- a/pages/common/b2sum.md +++ b/pages/common/b2sum.md @@ -15,6 +15,6 @@ `b2sum -c {{filename.b2}}` -- Calculate the BLAKE2 checksum from `stdin`: +- Calculate the BLAKE2 checksum from stdin: `{{somecommand}} | b2sum` diff --git a/pages/common/babel.md b/pages/common/babel.md index e86bf5ca8..efafa49d8 100644 --- a/pages/common/babel.md +++ b/pages/common/babel.md @@ -3,7 +3,7 @@ > A transpiler which converts code from JavaScript ES6/ES7 syntax to ES5 syntax. > More information: . -- Transpile a specified input file and output to `stdout`: +- Transpile a specified input file and output to stdout: `babel {{path/to/file}}` diff --git a/pages/common/banner.md b/pages/common/banner.md index 1647398f4..de65d1769 100644 --- a/pages/common/banner.md +++ b/pages/common/banner.md @@ -10,6 +10,6 @@ `banner -w {{50}} "{{Hello World}}"` -- Read text from `stdin`: +- Read text from stdin: `banner` diff --git a/pages/common/base32.md b/pages/common/base32.md index 049d2730b..59c8434ae 100644 --- a/pages/common/base32.md +++ b/pages/common/base32.md @@ -10,10 +10,10 @@ `base32 -d {{filename}}` -- Encode from `stdin`: +- Encode from stdin: `{{somecommand}} | base32` -- Decode from `stdin`: +- Decode from stdin: `{{somecommand}} | base32 -d` diff --git a/pages/common/base64.md b/pages/common/base64.md index 2d1d654fe..fac5ed74c 100644 --- a/pages/common/base64.md +++ b/pages/common/base64.md @@ -10,10 +10,10 @@ `base64 -d {{filename}}` -- Encode from `stdin`: +- Encode from stdin: `{{somecommand}} | base64` -- Decode from `stdin`: +- Decode from stdin: `{{somecommand}} | base64 -d` diff --git a/pages/common/bash.md b/pages/common/bash.md index 34afac704..6822e8e9f 100644 --- a/pages/common/bash.md +++ b/pages/common/bash.md @@ -24,7 +24,7 @@ `bash -e {{file.sh}}` -- Run commands from `stdin`: +- Run commands from stdin: `bash -s` diff --git a/pages/common/bedtools.md b/pages/common/bedtools.md index 332fc3d4b..2c455c9d2 100644 --- a/pages/common/bedtools.md +++ b/pages/common/bedtools.md @@ -4,7 +4,7 @@ > Used to intersect, group, convert and count data in BAM, BED, GFF/GTF, VCF format. > More information: . -- Intersect two files with respect to the sequences' strand and save the result to {{path/to/output_file}}: +- Intersect two files with respect to the sequences' strand and save the result to {{`path/to/output_file`}}: `bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -s > {{path/to/output_file}}` @@ -16,7 +16,7 @@ `bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -sorted > {{path/to/output_file}}` -- Group file {{path/to/file}} based on the first three and the fifth column and summarize the sixth column by summing it up: +- Group file {{`path/to/file`}} based on the first three and the fifth column and summarize the sixth column by summing it up: `bedtools groupby -i {{path/to/file}} -c 1-3,5 -g 6 -o sum` diff --git a/pages/common/boot.md b/pages/common/boot.md index ecc6175c4..3c6f3d384 100644 --- a/pages/common/boot.md +++ b/pages/common/boot.md @@ -7,7 +7,7 @@ `boot repl` -- Build a single "uberjar": +- Build a single `uberjar`: `boot jar` diff --git a/pages/common/borg.md b/pages/common/borg.md index e6ef5a425..48fc311a8 100644 --- a/pages/common/borg.md +++ b/pages/common/borg.md @@ -16,7 +16,7 @@ `borg list {{path/to/repo_directory}}` -- Extract a specific directory from the "Monday" archive in a remote repository, excluding all *.ext files: +- Extract a specific directory from the "Monday" archive in a remote repository, excluding all `*.ext` files: `borg extract {{user}}@{{host}}:{{path/to/repo_directory}}::{{Monday}} {{path/to/target_directory}} --exclude '{{*.ext}}'` diff --git a/pages/common/bower.md b/pages/common/bower.md index efe485ea8..5e3406b44 100644 --- a/pages/common/bower.md +++ b/pages/common/bower.md @@ -24,10 +24,10 @@ `bower help {{command}}` -- Create a bower.json file for your package: +- Create a `bower.json` file for your package: `bower init` -- Install a specific dependency version, and add it to bower.json: +- Install a specific dependency version, and add it to `bower.json`: `bower install {{local_name}}={{package}}#{{version}} --save` diff --git a/pages/common/clamscan.md b/pages/common/clamscan.md index 1d203e9e1..e33daa463 100644 --- a/pages/common/clamscan.md +++ b/pages/common/clamscan.md @@ -11,7 +11,7 @@ `clamscan -r {{path/to/directory}}` -- Scan data from `stdin`: +- Scan data from stdin: `{{command}} | clamscan -` diff --git a/pages/common/clang-format.md b/pages/common/clang-format.md index dc1510b6d..715671e13 100644 --- a/pages/common/clang-format.md +++ b/pages/common/clang-format.md @@ -3,7 +3,7 @@ > Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code. > More information: . -- Format a file and print the result to `stdout`: +- Format a file and print the result to stdout: `clang-format {{path/to/file}}` diff --git a/pages/common/cloc.md b/pages/common/cloc.md index f1f7b058c..722daaeed 100644 --- a/pages/common/cloc.md +++ b/pages/common/cloc.md @@ -15,7 +15,7 @@ `cloc --diff {{path/to/directory/one}} {{path/to/directory/two}}` -- Ignore files that are ignored by VCS, such as files specified in .gitignore: +- Ignore files that are ignored by VCS, such as files specified in `.gitignore`: `cloc --vcs git {{path/to/directory}}` diff --git a/pages/common/comm.md b/pages/common/comm.md index b7333e937..e1c031d77 100644 --- a/pages/common/comm.md +++ b/pages/common/comm.md @@ -10,7 +10,7 @@ `comm -12 {{file1}} {{file2}}` -- Print only lines common to both files, reading one file from `stdin`: +- Print only lines common to both files, reading one file from stdin: `cat {{file1}} | comm -12 - {{file2}}` diff --git a/pages/common/command.md b/pages/common/command.md index d2bf9af48..f97925640 100644 --- a/pages/common/command.md +++ b/pages/common/command.md @@ -2,7 +2,7 @@ > Command forces the shell to execute the program and ignore any functions, builtins and aliases with the same name. -- Execute the ls program literally, even if an ls alias exists: +- Execute the `ls` program literally, even if an `ls` alias exists: `command {{ls}}` diff --git a/pages/common/conan.md b/pages/common/conan.md index ed5f36f78..ead6356cd 100644 --- a/pages/common/conan.md +++ b/pages/common/conan.md @@ -3,7 +3,7 @@ > The open source, decentralized and multi-platform package manager to create and share all your native binaries. > More information: . -- Install packages based on conanfile.txt: +- Install packages based on `conanfile.txt`: `conan install {{.}}` diff --git a/pages/common/cpdf.md b/pages/common/cpdf.md index d9d65683b..5b94a7e95 100644 --- a/pages/common/cpdf.md +++ b/pages/common/cpdf.md @@ -15,7 +15,7 @@ `cpdf -list-bookmarks {{path/to/document.pdf}}` -- Split a document into ten-page chunks, writing them to chunk001.pdf, chunk002.pdf, etc: +- Split a document into ten-page chunks, writing them to `chunk001.pdf`, `chunk002.pdf`, etc: `cpdf -split {{path/to/document.pdf}} -o {{path/to/chunk%%%.pdf}} -chunk {{10}}` diff --git a/pages/common/cppclean.md b/pages/common/cppclean.md index 550370ef3..3e7361607 100644 --- a/pages/common/cppclean.md +++ b/pages/common/cppclean.md @@ -7,11 +7,11 @@ `cppclean {{path/to/project}}` -- Run on a project where the headers are in the "inc1/" and "inc2/" directories: +- Run on a project where the headers are in the `inc1/` and `inc2/` directories: `cppclean {{path/to/project}} --include-path={{inc1}} --include-path={{inc2}}` -- Run on a specific file "main.cpp": +- Run on a specific file `main.cpp`: `cppclean {{main.cpp}}` diff --git a/pages/common/csc.md b/pages/common/csc.md index e648a18e2..5952f7dd5 100644 --- a/pages/common/csc.md +++ b/pages/common/csc.md @@ -11,7 +11,7 @@ `csc /out:{{path/to/filename}} {{path/to/input_file.cs}}` -- Compile into a '.dll' library instead of an executable: +- Compile into a `.dll` library instead of an executable: `csc /target:library {{path/to/input_file.cs}}` diff --git a/pages/common/cut.md b/pages/common/cut.md index b5a7256e9..3614df189 100644 --- a/pages/common/cut.md +++ b/pages/common/cut.md @@ -1,8 +1,8 @@ # cut -> Cut out fields from `stdin` or files. +> Cut out fields from stdin or files. -- Cut out the first sixteen characters of each line of `stdin`: +- Cut out the first sixteen characters of each line of stdin: `cut -c {{1-16}}` diff --git a/pages/common/dd.md b/pages/common/dd.md index 6ac1cd826..0386626fd 100644 --- a/pages/common/dd.md +++ b/pages/common/dd.md @@ -2,7 +2,7 @@ > Convert and copy a file. -- Make a bootable usb drive from an isohybrid file (such like archlinux-xxx.iso) and show the progress: +- Make a bootable usb drive from an isohybrid file (such like `archlinux-xxx.iso`) and show the progress: `dd if={{file.iso}} of=/dev/{{usb_drive}} status=progress` diff --git a/pages/common/decaffeinate.md b/pages/common/decaffeinate.md index 39ccba791..9db036fda 100644 --- a/pages/common/decaffeinate.md +++ b/pages/common/decaffeinate.md @@ -11,7 +11,7 @@ `decaffeinate --use-cs2 {{path/to/file.coffee}}` -- Convert require and module.exports to import and export: +- Convert require and `module.exports` to import and export: `decaffeinate --use-js-modules {{path/to/file.coffee}}` diff --git a/pages/common/diffoscope.md b/pages/common/diffoscope.md index d607df845..6c25a6fcd 100644 --- a/pages/common/diffoscope.md +++ b/pages/common/diffoscope.md @@ -11,7 +11,7 @@ `diffoscope --no-progress {{path/to/file1}} {{path/to/file2}}` -- Compare two files and write a HTML-report to a file (use `-` for `stdout`): +- Compare two files and write a HTML-report to a file (use `-` for stdout): `diffoscope --html {{path/to/outfile|-}} {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/direnv.md b/pages/common/direnv.md index dc03c2568..b7396b77b 100644 --- a/pages/common/direnv.md +++ b/pages/common/direnv.md @@ -3,11 +3,11 @@ > Shell extension to load and unload environment variables depending on the current directory. > More information: . -- Grant direnv permission to load the specified .envrc: +- Grant direnv permission to load the specified `.envrc`: `direnv allow` -- Revoke the authorization of a given .envrc: +- Revoke the authorization of a given `.envrc`: `direnv deny` diff --git a/pages/common/docker-exec.md b/pages/common/docker-exec.md index 6bcb61b24..ff6ee9226 100644 --- a/pages/common/docker-exec.md +++ b/pages/common/docker-exec.md @@ -15,7 +15,7 @@ `docker exec --interactive -tty --workdir {{path/to/directory}} {{container_name}} {{command}}` -- Run a command in background on existing container but keep `stdin` open: +- Run a command in background on existing container but keep stdin open: `docker exec --interactive --detach {{container_name}} {{command}}` diff --git a/pages/common/docker-save.md b/pages/common/docker-save.md index d6bd9df29..fb18b0181 100644 --- a/pages/common/docker-save.md +++ b/pages/common/docker-save.md @@ -3,7 +3,7 @@ > Export one or more docker images to archive. > More information: . -- Save an image by redirecting `stdout` to a tar archive: +- Save an image by redirecting stdout to a tar archive: `docker save {{image}}:{{tag}} > {{path/to/file.tar}}` diff --git a/pages/common/docker-start.md b/pages/common/docker-start.md index 73e177299..09993cd63 100644 --- a/pages/common/docker-start.md +++ b/pages/common/docker-start.md @@ -11,7 +11,7 @@ `docker start {{container}}` -- Start a container, attaching `stdout` and `stderr` and forwarding signals: +- Start a container, attaching stdout and stderr and forwarding signals: `docker start --attach {{container}}` diff --git a/pages/common/doxygen.md b/pages/common/doxygen.md index c9c586cc5..c1b605835 100644 --- a/pages/common/doxygen.md +++ b/pages/common/doxygen.md @@ -3,7 +3,7 @@ > A documentation system for various programming languages. > More information: . -- Generate a default template configuration file "Doxyfile": +- Generate a default template configuration file `Doxyfile`: `doxygen -g` diff --git a/pages/common/du.md b/pages/common/du.md index 43da7b768..df45a58c2 100644 --- a/pages/common/du.md +++ b/pages/common/du.md @@ -22,6 +22,6 @@ `du -h --max-depth=N {{path/to/directory}}` -- List the human-readable size of all .jpg files in subdirectories of the current directory, and show a cumulative total at the end: +- List the human-readable size of all `.jpg` files in subdirectories of the current directory, and show a cumulative total at the end: `du -ch */*.jpg` diff --git a/pages/common/elm.md b/pages/common/elm.md index ea6025b89..40f6dc6f2 100644 --- a/pages/common/elm.md +++ b/pages/common/elm.md @@ -11,7 +11,7 @@ `elm repl` -- Compile an Elm file, output the result to an index.html file: +- Compile an Elm file, output the result to an `index.html` file: `elm make {{source}}` diff --git a/pages/common/envsubst.md b/pages/common/envsubst.md index fa214f01d..2c283a17d 100644 --- a/pages/common/envsubst.md +++ b/pages/common/envsubst.md @@ -3,11 +3,11 @@ > Substitutes environment variables with their value in shell format strings. > Variables to be replaced should be in either `${var}` or `$var` format. -- Replace environment variables in `stdin` and output to `stdout`: +- Replace environment variables in stdin and output to stdout: `echo '{{$HOME}}' | envsubst` -- Replace environment variables in an input file and output to `stdout`: +- Replace environment variables in an input file and output to stdout: `envsubst < {{path/to/input_file}}` diff --git a/pages/common/factor.md b/pages/common/factor.md index 05d651ea9..80e04fdeb 100644 --- a/pages/common/factor.md +++ b/pages/common/factor.md @@ -6,6 +6,6 @@ `factor {{number}}` -- Take the input from `stdin` if no argument is specified: +- Take the input from stdin if no argument is specified: `echo {{number}} | factor` diff --git a/pages/common/ffmpeg.md b/pages/common/ffmpeg.md index dd5af1026..0ad379f8f 100644 --- a/pages/common/ffmpeg.md +++ b/pages/common/ffmpeg.md @@ -11,7 +11,7 @@ `ffmpeg -i {{video.mpg|video.gif}} {{frame_%d.png}}` -- Combine numbered images (frame_1.jpg, frame_2.jpg, etc) into a video or GIF: +- Combine numbered images (`frame_1.jpg`, `frame_2.jpg`, etc) into a video or GIF: `ffmpeg -i {{frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}` diff --git a/pages/common/fswebcam.md b/pages/common/fswebcam.md index 0a07e592c..5838d1691 100644 --- a/pages/common/fswebcam.md +++ b/pages/common/fswebcam.md @@ -11,7 +11,7 @@ `fswebcam -r {{width}}x{{height}} {{filename}}` -- Take a picture from selected device(Default is /dev/video0): +- Take a picture from selected device(Default is `/dev/video0`): `fswebcam -d {{device}} {{filename}}` diff --git a/pages/common/gibo.md b/pages/common/gibo.md index 0dd43f0ee..e6b45f5d0 100644 --- a/pages/common/gibo.md +++ b/pages/common/gibo.md @@ -7,7 +7,7 @@ `gibo list` -- Write a boilerplate to `stdout`: +- Write a boilerplate to stdout: `gibo dump {{boilerplate}}` diff --git a/pages/common/gist.md b/pages/common/gist.md index fb073fed6..567326a51 100644 --- a/pages/common/gist.md +++ b/pages/common/gist.md @@ -15,7 +15,7 @@ `gist -p -d "{{A meaningful description}}" {{file.txt}} ` -- Read contents from `stdin` and create a gist from it: +- Read contents from stdin and create a gist from it: `{{echo "hello world"}} | gist` diff --git a/pages/common/git-check-ignore.md b/pages/common/git-check-ignore.md index 351854c97..dd90c41ff 100644 --- a/pages/common/git-check-ignore.md +++ b/pages/common/git-check-ignore.md @@ -11,7 +11,7 @@ `git check-ignore {{path/to/file}} {{path/to/directory}}` -- Use pathnames, one per line, from `stdin`: +- Use pathnames, one per line, from stdin: `git check-ignore --stdin < {{path/to/file_list}}` diff --git a/pages/common/git-commit-tree.md b/pages/common/git-commit-tree.md index 4d174596f..fefed2be6 100644 --- a/pages/common/git-commit-tree.md +++ b/pages/common/git-commit-tree.md @@ -8,7 +8,7 @@ `git commit-tree {{tree}} -m "{{message}}"` -- Create a commit object reading the message from a file (use `-` for `stdin`): +- Create a commit object reading the message from a file (use `-` for stdin): `git commit-tree {{tree}} -F {{path/to/file}}` diff --git a/pages/common/git-format-patch.md b/pages/common/git-format-patch.md index f0e59dfd7..ed3e69735 100644 --- a/pages/common/git-format-patch.md +++ b/pages/common/git-format-patch.md @@ -4,14 +4,14 @@ > See also `git am`, which can apply generated .patch files. > More information: . -- Create an auto-named .patch file for all the unpushed commits: +- Create an auto-named `.patch` file for all the unpushed commits: `git format-patch {{origin}}` -- Write a .patch file for all the commits between 2 revisions to `stdout`: +- Write a `.patch` file for all the commits between 2 revisions to stdout: `git format-patch {{revision_1}}..{{revision_2}}` -- Write a .patch file for the 3 latest commits: +- Write a `.patch` file for the 3 latest commits: `git format-patch -{{3}}` diff --git a/pages/common/git-prune.md b/pages/common/git-prune.md index 34450cc2f..9d939b9da 100644 --- a/pages/common/git-prune.md +++ b/pages/common/git-prune.md @@ -8,7 +8,7 @@ `git prune --dry-run` -- Prune unreachable objects and display what has been pruned to `stdout`: +- Prune unreachable objects and display what has been pruned to stdout: `git prune --verbose` diff --git a/pages/common/gixy.md b/pages/common/gixy.md index 50f50d3e4..84c6bdb9f 100644 --- a/pages/common/gixy.md +++ b/pages/common/gixy.md @@ -3,7 +3,7 @@ > Analyze nginx configuration files. > More information: . -- Analyze nginx configuration (default path: /etc/nginx/nginx.conf): +- Analyze nginx configuration (default path: `/etc/nginx/nginx.conf`): `gixy` diff --git a/pages/common/glib-compile-resources.md b/pages/common/glib-compile-resources.md index 582417927..e6a4976ae 100644 --- a/pages/common/glib-compile-resources.md +++ b/pages/common/glib-compile-resources.md @@ -3,18 +3,18 @@ > Compiles resource files (e.g. images) into a binary resource bundle. > These may be linked into GTK applications using the GResource API. -- Compile resources referenced in "file.gresource.xml" to a .gresource binary: +- Compile resources referenced in `file.gresource.xml` to a .gresource binary: `glib-compile-resources {{file.gresource.xml}}` -- Compile resources referenced in "file.gresource.xml" to a C source file: +- Compile resources referenced in `file.gresource.xml` to a C source file: `glib-compile-resources --generate-source {{file.gresource.xml}}` -- Compile resources in "file.gresource.xml" to a chosen target file, with .c, .h or .gresource extension: +- Compile resources in `file.gresource.xml` to a chosen target file, with `.c`, `.h` or `.gresource` extension: `glib-compile-resources --generate --target={{file.ext}} {{file.gresource.xml}}` -- Print a list of resource files referenced in "file.gresource.xml": +- Print a list of resource files referenced in `file.gresource.xml`: `glib-compile-resources --generate-dependencies {{file.gresource.xml}}` diff --git a/pages/common/gnomon.md b/pages/common/gnomon.md index 54d96d771..a84756a67 100644 --- a/pages/common/gnomon.md +++ b/pages/common/gnomon.md @@ -3,7 +3,7 @@ > Utility to annotate console logging statements with timestamps and find slow processes. > More information: . -- Use UNIX (or DOS) pipes to pipe the `stdout` of any command through gnomon: +- Use UNIX (or DOS) pipes to pipe the stdout of any command through gnomon: `{{npm test}} | gnomon` diff --git a/pages/common/godoc.md b/pages/common/godoc.md index 61361365f..2dd58be2d 100644 --- a/pages/common/godoc.md +++ b/pages/common/godoc.md @@ -11,7 +11,7 @@ `godoc {{fmt}} {{Printf}}` -- Serve documentation as a web server on port "6060": +- Serve documentation as a web server on port 6060: `godoc -http=:{{6060}}` diff --git a/pages/common/goreload.md b/pages/common/goreload.md index 5452844cc..4aea0b08b 100644 --- a/pages/common/goreload.md +++ b/pages/common/goreload.md @@ -3,11 +3,11 @@ > Live reload utility for Go programs. > More information: . -- Set the name of the binary file to watch (defaults to ".goreload"): +- Set the name of the binary file to watch (defaults to `.goreload`): `goreload -b {{path/to/binary}} {{file}}.go` -- Set a custom log prefix (defaults to "goreload"): +- Set a custom log prefix (defaults to `goreload`): `goreload --logPrefix {{prefix}} {{file}}.go` diff --git a/pages/common/gpg-zip.md b/pages/common/gpg-zip.md index 4a024bc02..7b0f046d7 100644 --- a/pages/common/gpg-zip.md +++ b/pages/common/gpg-zip.md @@ -2,14 +2,14 @@ > Encrypt files and directories in an archive using GPG. -- Encrypt a directory into archive.gpg using a passphrase: +- Encrypt a directory into `archive.gpg` using a passphrase: `gpg-zip --symmetric --output {{archive.gpg}} {{path/to/directory}}` -- Decrypt archive.gpg into a directory of the same name: +- Decrypt `archive.gpg` into a directory of the same name: `gpg-zip --decrypt {{path/to/archive.gpg}}` -- List the contents of the encrypted archive.gpg: +- List the contents of the encrypted `archive.gpg`: `gpg-zip --list-archive {{path/to/archive.gpg}}` diff --git a/pages/common/gpg.md b/pages/common/gpg.md index 0d857ad49..2a8631ab0 100644 --- a/pages/common/gpg.md +++ b/pages/common/gpg.md @@ -4,19 +4,19 @@ > See `gpg2` for GNU Privacy Guard 2. > More information: . -- Sign doc.txt without encryption (writes output to doc.txt.asc): +- Sign `doc.txt` without encryption (writes output to `doc.txt.asc`): `gpg --clearsign {{doc.txt}}` -- Encrypt doc.txt for alice@example.com (output to doc.txt.gpg): +- Encrypt `doc.txt` for alice@example.com (output to `doc.txt.gpg`): `gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}` -- Encrypt doc.txt with only a passphrase (output to doc.txt.gpg): +- Encrypt `doc.txt` with only a passphrase (output to `doc.txt.gpg`): `gpg --symmetric {{doc.txt}}` -- Decrypt doc.txt.gpg (output to `stdout`): +- Decrypt `doc.txt.gpg` (output to stdout): `gpg --decrypt {{doc.txt.gpg}}` @@ -24,10 +24,10 @@ `gpg --import {{public.gpg}}` -- Export public key for alice@example.com (output to `stdout`): +- Export public key for alice@example.com (output to stdout): `gpg --export --armor {{alice@example.com}}` -- Export private key for alice@example.com (output to `stdout`): +- Export private key for alice@example.com (output to stdout): `gpg --export-secret-keys --armor {{alice@example.com}}` diff --git a/pages/common/help2man.md b/pages/common/help2man.md index 0c136c46a..566aa9cae 100644 --- a/pages/common/help2man.md +++ b/pages/common/help2man.md @@ -15,7 +15,7 @@ `help2man {{executable}} --section {{section}}` -- Output to a file instead of `stdout`: +- Output to a file instead of stdout: `help2man {{executable}} --output {{path/to/file}}` diff --git a/pages/common/hg-clone.md b/pages/common/hg-clone.md index 2168d304d..98be55e92 100644 --- a/pages/common/hg-clone.md +++ b/pages/common/hg-clone.md @@ -11,7 +11,7 @@ `hg clone --branch {{branch}} {{remote_repository_source}}` -- Clone a repository with only the ".hg" directory, without checking out files: +- Clone a repository with only the `.hg` directory, without checking out files: `hg clone --noupdate {{remote_repository_source}}` diff --git a/pages/common/hostess.md b/pages/common/hostess.md index 1a7187c31..acbef8229 100644 --- a/pages/common/hostess.md +++ b/pages/common/hostess.md @@ -1,6 +1,6 @@ # hostess -> An idempotent command-line utility for managing your /etc/hosts file. +> An idempotent command-line utility for managing the `/etc/hosts` file. > More information: . - List domains, target ips and on/off status: diff --git a/pages/common/http.md b/pages/common/http.md index 3adbf30e5..849f2ed9b 100644 --- a/pages/common/http.md +++ b/pages/common/http.md @@ -27,6 +27,6 @@ `http -a {{username:password}} {{example.org}}` -- Specify raw request body via `stdin`: +- Specify raw request body via stdin: `cat {{data.txt}} | http PUT {{example.org}}` diff --git a/pages/common/iconv.md b/pages/common/iconv.md index 25a75e641..40baed855 100644 --- a/pages/common/iconv.md +++ b/pages/common/iconv.md @@ -2,7 +2,7 @@ > Converts text from one encoding to another. -- Convert file to a specific encoding, and print to `stdout`: +- Convert file to a specific encoding, and print to stdout: `iconv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}` diff --git a/pages/common/initdb.md b/pages/common/initdb.md index b325421b1..7f08435d4 100644 --- a/pages/common/initdb.md +++ b/pages/common/initdb.md @@ -3,6 +3,6 @@ > Create a PostgreSQL database on disk. > More information: . -- Create a database at /usr/local/var/postgres: +- Create a database at `/usr/local/var/postgres`: `initdb -D /usr/local/var/postgres` diff --git a/pages/common/java.md b/pages/common/java.md index bc5004f43..293809ed3 100644 --- a/pages/common/java.md +++ b/pages/common/java.md @@ -3,15 +3,15 @@ > Java Application Launcher. > More information: . -- Execute a java .class file that contains a main method by using just the class name: +- Execute a java `.class` file that contains a main method by using just the class name: `java {{classname}}` -- Execute a .jar program: +- Execute a `.jar` program: `java -jar {{filename.jar}}` -- Execute a .jar program with debug waiting to connect on port 5005: +- Execute a `.jar` program with debug waiting to connect on port 5005: `java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{filename.jar}}` diff --git a/pages/common/javac.md b/pages/common/javac.md index 5d04e04dd..6d874cb32 100644 --- a/pages/common/javac.md +++ b/pages/common/javac.md @@ -2,18 +2,18 @@ > Java Application Compiler. -- Compile a .java file: +- Compile a `.java` file: `javac {{file.java}}` -- Compile several .java files: +- Compile several `.java` files: `javac {{file1.java}} {{file2.java}} {{file3.java}}` -- Compile all .java files in current directory: +- Compile all `.java` files in current directory: `javac {{*.java}}` -- Compile a .java file and place the resulting class file in a specific directory: +- Compile a `.java` file and place the resulting class file in a specific directory: `javac -d {{path/to/some/directory}} {{file.java}}` diff --git a/pages/common/jq.md b/pages/common/jq.md index 4ff0ebac2..6aa86dc01 100644 --- a/pages/common/jq.md +++ b/pages/common/jq.md @@ -19,7 +19,7 @@ `jq '.[0]' {{file.json}}` -- Output the value of a given key of each element in a JSON text from `stdin`: +- Output the value of a given key of each element in a JSON text from stdin: `cat {{file.json}} | jq 'map(.{{key_name}})'` diff --git a/pages/common/json5.md b/pages/common/json5.md index 170f0fd50..578188204 100644 --- a/pages/common/json5.md +++ b/pages/common/json5.md @@ -3,11 +3,11 @@ > A command-line tool for converting JSON5 files to JSON. > More information: . -- Convert JSON5 stdin to JSON `stdout`: +- Convert JSON5 stdin to JSON stdout: `echo {{input}} | json5` -- Convert a JSON5 file to JSON and output to `stdout`: +- Convert a JSON5 file to JSON and output to stdout: `json5 {{path/to/input_file.json5}}` diff --git a/pages/common/kafkacat.md b/pages/common/kafkacat.md index 91361c481..1520bbf1e 100644 --- a/pages/common/kafkacat.md +++ b/pages/common/kafkacat.md @@ -15,7 +15,7 @@ `kafkacat -G {{group_id}} {{topic}} -b {{brokers}}` -- Publish message by reading from `stdin`: +- Publish message by reading from stdin: ` echo {{message}} | kafkacat -P -t {{topic}} -b {{brokers}}` diff --git a/pages/common/kops.md b/pages/common/kops.md index ae7135368..ca766fbf6 100644 --- a/pages/common/kops.md +++ b/pages/common/kops.md @@ -11,7 +11,7 @@ `kops create secret sshpublickey {{key_name}} -i {{~/.ssh/id_rsa.pub}}` -- Export the cluster configurations into the ~/.kube/config file: +- Export the cluster configuration to the `~/.kube/config` file: `kops export kubecfg {{cluster_name}}` diff --git a/pages/common/last.md b/pages/common/last.md index 03c413b24..6e5db7bf2 100644 --- a/pages/common/last.md +++ b/pages/common/last.md @@ -2,7 +2,7 @@ > View the last logged in users. -- View last logins, their duration and other information as read from /var/log/wtmp: +- View last logins, their duration and other information as read from `/var/log/wtmp`: `last` diff --git a/pages/common/lebab.md b/pages/common/lebab.md index 9203985ca..025347f2c 100644 --- a/pages/common/lebab.md +++ b/pages/common/lebab.md @@ -12,7 +12,7 @@ `lebab --transform {{transformation}}` -- Transpile a file to `stdout`: +- Transpile a file to stdout: `lebab {{path/to/input_file}}` diff --git a/pages/common/lein.md b/pages/common/lein.md index d01b94e20..b5b0ad786 100644 --- a/pages/common/lein.md +++ b/pages/common/lein.md @@ -11,7 +11,7 @@ `lein repl` -- Run the project's "-main" function with optional args: +- Run the project's `-main` function with optional args: `lein run {{args}}` diff --git a/pages/common/license.md b/pages/common/license.md index f09775586..407032059 100644 --- a/pages/common/license.md +++ b/pages/common/license.md @@ -3,7 +3,7 @@ > Create license files for open-source projects. > More information: . -- Print a license to `stdout`, using the defaults (auto-detected author name, and current year): +- Print a license to stdout, using the defaults (auto-detected author name, and current year): `license {{license_name}}` diff --git a/pages/common/live-server.md b/pages/common/live-server.md index cef7b9d91..f7cc2f08e 100644 --- a/pages/common/live-server.md +++ b/pages/common/live-server.md @@ -3,7 +3,7 @@ > A simple development http server with live reload capability. > More information: . -- Serve an index.html file and reload on changes: +- Serve an `index.html` file and reload on changes: `live-server` diff --git a/pages/common/lpass.md b/pages/common/lpass.md index f21af2815..add25a872 100644 --- a/pages/common/lpass.md +++ b/pages/common/lpass.md @@ -15,7 +15,7 @@ `lpass ls` -- Generate a new password for "gmail.com" with identifier "myinbox" and add to LastPass: +- Generate a new password for gmail.com with the identifier `myinbox` and add to LastPass: `lpass generate --username {{username}} --url {{gmail.com}} {{myinbox}} {{password_length}}` diff --git a/pages/common/lz4.md b/pages/common/lz4.md index bf2535204..7742a3842 100644 --- a/pages/common/lz4.md +++ b/pages/common/lz4.md @@ -11,7 +11,7 @@ `lz4 -d {{file.lz4}}` -- Decompress a file and write to `stdout`: +- Decompress a file and write to stdout: `lz4 -dc {{file.lz4}}` diff --git a/pages/common/lzop.md b/pages/common/lzop.md index aaa0f37a8..7fb9c5a78 100644 --- a/pages/common/lzop.md +++ b/pages/common/lzop.md @@ -3,7 +3,7 @@ > Compress or decompress files with LZO compression. > More information: . -- Compress a file into a new file with the .lzo suffix: +- Compress a file into a new file with the `.lzo` suffix: `lzop {{file}}` diff --git a/pages/common/mail.md b/pages/common/mail.md index 18ab72c89..3ec70d3b4 100644 --- a/pages/common/mail.md +++ b/pages/common/mail.md @@ -3,7 +3,7 @@ > The command operates on the user's mailbox if no argument is given. > To send an email the message body is built from standard input. -- Send a typed email message. The command line below continues after pressing Enter key. Input CC email-id (optional) press Enter key. Input message text (can be multi-line). Press "Ctrl-D" key to complete the message text: +- Send a typed email message. The command line below continues after pressing Enter key. Input CC email-id (optional) press Enter key. Input message text (can be multi-line). Press Ctrl-D key to complete the message text: `mail --subject="{{subject line}}" {{to_user@example.com}}` @@ -11,6 +11,6 @@ `mail --subject="{{$HOSTNAME filename.txt}}" {{to_user@example.com}} < {{path/to/filename.txt}}` -- Send a tar.gz file as an attachment: +- Send a `tar.gz` file as an attachment: `tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject="{{subject_line}}" {{to_user@example.com}}` diff --git a/pages/common/mmv.md b/pages/common/mmv.md index aef1c25bc..8a028727f 100644 --- a/pages/common/mmv.md +++ b/pages/common/mmv.md @@ -6,11 +6,11 @@ `mmv "*{{.old_extension}}" "#1{{.new_extension}}"` -- Copy report6part4.txt to ./french/rapport6partie4.txt along with all similarly named files: +- Copy `report6part4.txt` to `./french/rapport6partie4.txt` along with all similarly named files: `mmv -c "{{report*part*.txt}}" "{{./french/rapport#1partie#2.txt}}"` -- Append all .txt files into one file: +- Append all `.txt` files into one file: `mmv -a "{{*.txt}}" "{{all.txt}}"` diff --git a/pages/common/monodevelop.md b/pages/common/monodevelop.md index c841013f4..97ef9d523 100644 --- a/pages/common/monodevelop.md +++ b/pages/common/monodevelop.md @@ -19,7 +19,7 @@ `monodevelop --new-window` -- Disable redirection of `stdout` and stderr to a log file: +- Disable redirection of stdout and stderr to a log file: `monodevelop --no-redirect` diff --git a/pages/common/mosquitto_pub.md b/pages/common/mosquitto_pub.md index cde30e4c3..efca91d6c 100644 --- a/pages/common/mosquitto_pub.md +++ b/pages/common/mosquitto_pub.md @@ -19,10 +19,10 @@ `mosquitto_pub -t {{sensors/temperature}} -f {{data.txt}}` -- Send the contents of a file (`data.txt`), by reading from `stdin` and send the entire input as a message and publish it to `sensors/temperature` topic: +- Send the contents of a file (`data.txt`), by reading from stdin and send the entire input as a message and publish it to `sensors/temperature` topic: `mosquitto_pub -t {{sensors/temperature}} -s < {{data.txt}}` -- Read newline delimited data from `stdin` as a message and publish it to `sensors/temperature` topic: +- Read newline delimited data from stdin as a message and publish it to `sensors/temperature` topic: `{{echo data.txt}} | mosquitto_pub -t {{sensors/temperature}} -l` diff --git a/pages/common/mosquitto_sub.md b/pages/common/mosquitto_sub.md index e2e087866..321ffa69e 100644 --- a/pages/common/mosquitto_sub.md +++ b/pages/common/mosquitto_sub.md @@ -3,11 +3,11 @@ > A simple MQTT version 3.1.1 client that will subscribe to topics and print the messages that it receives. > More information: . -- Subscribe to the topic `sensors/temperature` information with Quality of Service (`QoS`) set to 1. (The default hostname is `localhost` and port `1883`): +- Subscribe to the topic `sensors/temperature` information with Quality of Service (`QoS`) set to 1. (The default hostname is `localhost` and port 1883): `mosquitto_sub -t {{sensors/temperature}} -q {{1}}` -- Subscribe to all broker status messages publishing on `iot.eclipse.org` port `1885` and print published messages verbosely: +- Subscribe to all broker status messages publishing on `iot.eclipse.org` port 1885 and print published messages verbosely: `mosquitto_sub -v -h "iot.eclipse.org" -p 1885 -t {{\$SYS/#}}` diff --git a/pages/common/mount.md b/pages/common/mount.md index ad9a71279..a217e30a4 100644 --- a/pages/common/mount.md +++ b/pages/common/mount.md @@ -10,15 +10,15 @@ `mount -t {{filesystem_type}} {{path/to/device_file}} {{path/to/target_directory}}` -- Mount a CD-ROM device (with the filetype ISO9660) to /cdrom (readonly): +- Mount a CD-ROM device (with the filetype ISO9660) to `/cdrom` (readonly): `mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}` -- Mount all the filesystem defined in /etc/fstab: +- Mount all the filesystem defined in `/etc/fstab`: `mount -a` -- Mount a specific filesystem described in /etc/fstab (e.g. "/dev/sda1 /my_drive ext2 defaults 0 2"): +- Mount a specific filesystem described in `/etc/fstab` (e.g. `/dev/sda1 /my_drive ext2 defaults 0 2`): `mount {{/my_drive}}` diff --git a/pages/common/npm.md b/pages/common/npm.md index 5d8884fe0..d234ecfec 100644 --- a/pages/common/npm.md +++ b/pages/common/npm.md @@ -4,7 +4,7 @@ > Manage Node.js projects and their module dependencies. > More information: . -- Interactively create a package.json file: +- Interactively create a `package.json` file: `npm init` @@ -12,11 +12,11 @@ `npm install` -- Download a specific version of a package and add it to the list of dependencies in package.json: +- Download a specific version of a package and add it to the list of dependencies in `package.json`: `npm install {{module_name}}@{{version}}` -- Download a package and add it to the list of dev dependencies in package.json: +- Download a package and add it to the list of dev dependencies in `package.json`: `npm install {{module_name}} --save-dev` @@ -24,7 +24,7 @@ `npm install -g {{module_name}}` -- Uninstall a package and remove it from the list of dependencies in package.json: +- Uninstall a package and remove it from the list of dependencies in `package.json`: `npm uninstall {{module_name}}` diff --git a/pages/common/odps-func.md b/pages/common/odps-func.md index 3bbd78a24..9aaee217c 100644 --- a/pages/common/odps-func.md +++ b/pages/common/odps-func.md @@ -6,11 +6,11 @@ `list functions;` -- Create a Java function using a .jar resource: +- Create a Java function using a `.jar` resource: `create function {{func_name}} as {{path.to.package.Func}} using '{{package.jar}}';` -- Create a Python function using a .py resource: +- Create a Python function using a `.py` resource: `create function {{func_name}} as {{script.Func}} using '{{script.py}}';` diff --git a/pages/common/opt.md b/pages/common/opt.md index e32cbc2e1..00fff3a15 100644 --- a/pages/common/opt.md +++ b/pages/common/opt.md @@ -7,7 +7,7 @@ `opt -{{passname}} {{path/to/file.bc}} -S -o {{file_opt.bc}}` -- Output the Control Flow Graph of a function to a "dot" file: +- Output the Control Flow Graph of a function to a `.dot` file: `opt {{-dot-cfg}} -S {{path/to/file.bc}} -disable-output` diff --git a/pages/common/parallel.md b/pages/common/parallel.md index b9aab9a96..11f821ea5 100644 --- a/pages/common/parallel.md +++ b/pages/common/parallel.md @@ -7,7 +7,7 @@ `parallel gzip ::: {{file1}} {{file2}} {{file3}}` -- Read arguments from `stdin`, run 4 jobs at once: +- Read arguments from stdin, run 4 jobs at once: `ls *.txt | parallel -j4 gzip` @@ -19,7 +19,7 @@ `{{args}} | parallel -X {{command}}` -- Break stdin into ~1M blocks, feed each block to `stdin` of new command: +- Break stdin into ~1M blocks, feed each block to stdin of new command: `cat {{big_file.txt}} | parallel --pipe --block 1M {{command}}` diff --git a/pages/common/pdftotext.md b/pages/common/pdftotext.md index 202f6f87b..17abc2ee1 100644 --- a/pages/common/pdftotext.md +++ b/pages/common/pdftotext.md @@ -2,22 +2,22 @@ > Convert PDF files to plain text format. -- Convert filename.pdf to plain text and print it to standard output: +- Convert `filename.pdf` to plain text and print it to standard output: `pdftotext {{filename.pdf}} -` -- Convert filename.pdf to plain text and save it as filename.txt: +- Convert `filename.pdf` to plain text and save it as `filename.txt`: `pdftotext {{filename.pdf}}` -- Convert filename.pdf to plain text and preserve the layout: +- Convert `filename.pdf` to plain text and preserve the layout: `pdftotext -layout {{filename.pdf}}` -- Convert input.pdf to plain text and save it as output.txt: +- Convert `input.pdf` to plain text and save it as `output.txt`: `pdftotext {{input.pdf}} {{output.txt}}` -- Convert pages 2, 3 and 4 of input.pdf to plain text and save them as output.txt: +- Convert pages 2, 3 and 4 of `input.pdf` to plain text and save them as `output.txt`: `pdftotext -f {{2}} -l {{4}} {{input.pdf}} {{output.txt}}` diff --git a/pages/common/perl.md b/pages/common/perl.md index 8a9e20cdd..dc3037ced 100644 --- a/pages/common/perl.md +++ b/pages/common/perl.md @@ -31,6 +31,6 @@ `perl -p0e 's/{{foo\nbar}}/{{foobar}}/g' {{input_file}} > {{output_file}}` -- Run a regular expression on `stdin`, printing out the first capture group for each line: +- Run a regular expression on stdin, printing out the first capture group for each line: `cat {{path/to/input_file}} | perl -nle 'if (/.*({{foo}}).*/) {print "$1"; last;}'` diff --git a/pages/common/pest.md b/pages/common/pest.md index 62dd0fdb4..223da6e33 100644 --- a/pages/common/pest.md +++ b/pages/common/pest.md @@ -15,7 +15,7 @@ `pest --group {{name}}` -- Run tests and print the coverage report to `stdout`: +- Run tests and print the coverage report to stdout: `pest --coverage` diff --git a/pages/common/phing.md b/pages/common/phing.md index 0c1d9ee45..adbc60147 100644 --- a/pages/common/phing.md +++ b/pages/common/phing.md @@ -3,7 +3,7 @@ > A PHP build tool based on Apache Ant. > More information: . -- Perform the default task in the "build.xml" file: +- Perform the default task in the `build.xml` file: `phing` diff --git a/pages/common/phpbu.md b/pages/common/phpbu.md index fa66c6286..0dd651857 100644 --- a/pages/common/phpbu.md +++ b/pages/common/phpbu.md @@ -3,7 +3,7 @@ > A backup utility framework for PHP. > More information: . -- Run backups using the default "phpbu.xml" configuration file: +- Run backups using the default `phpbu.xml` configuration file: `phpbu` diff --git a/pages/common/phpmd.md b/pages/common/phpmd.md index 524c6c74a..b631f5bc8 100644 --- a/pages/common/phpmd.md +++ b/pages/common/phpmd.md @@ -23,7 +23,7 @@ `phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --exclude {{directory_patterns}}` -- Output the results to a file instead of `stdout`: +- Output the results to a file instead of stdout: `phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --reportfile {{path/to/report_file}}` diff --git a/pages/common/poetry.md b/pages/common/poetry.md index 3bd286da6..76bf7c5e2 100644 --- a/pages/common/poetry.md +++ b/pages/common/poetry.md @@ -15,7 +15,7 @@ `poetry init` -- Get the latest version of all dependencies and update poetry.lock: +- Get the latest version of all dependencies and update `poetry.lock`: `poetry update` diff --git a/pages/common/pyenv.md b/pages/common/pyenv.md index 4be694a4a..b6b597622 100644 --- a/pages/common/pyenv.md +++ b/pages/common/pyenv.md @@ -7,15 +7,15 @@ `pyenv commands` -- List all Python versions under the ${PYENV_ROOT}/versions directory: +- List all Python versions under the `${PYENV_ROOT}/versions` directory: `pyenv versions` -- Install a Python version under the ${PYENV_ROOT}/versions directory: +- Install a Python version under the `${PYENV_ROOT}/versions` directory: `pyenv install {{2.7.10}}` -- Uninstall a Python version under the ${PYENV_ROOT}/versions directory: +- Uninstall a Python version under the `${PYENV_ROOT}/versions` directory: `pyenv uninstall {{2.7.10}}` diff --git a/pages/common/q.md b/pages/common/q.md index 687757af0..cfc176cd4 100644 --- a/pages/common/q.md +++ b/pages/common/q.md @@ -3,11 +3,11 @@ > Execute SQL-like queries on .csv and .tsv files. > More information: . -- Query .csv file by specifying the delimiter as ',': +- Query `.csv` file by specifying the delimiter as ',': `q -d',' "SELECT * from {{path/to/file}}"` -- Query .tsv file: +- Query `.tsv` file: `q -t "SELECT * from {{path/to/file}}"` @@ -15,7 +15,7 @@ `q -d{{delimiter}} -H "SELECT * from {{path/to/file}}"` -- Read data from stdin; '-' in the query represents the data from `stdin`: +- Read data from stdin; '-' in the query represents the data from stdin: `{{output}} | q "select * from -"` diff --git a/pages/common/rails-db.md b/pages/common/rails-db.md index 28ed7f4a8..be8e0f174 100644 --- a/pages/common/rails-db.md +++ b/pages/common/rails-db.md @@ -30,6 +30,6 @@ `rails db:rollback` -- Fill the current database with data defined in db/seeds.rb: +- Fill the current database with data defined in `db/seeds.rb`: `rails db:seed` diff --git a/pages/common/redis-server.md b/pages/common/redis-server.md index fa2616100..613106a7f 100644 --- a/pages/common/redis-server.md +++ b/pages/common/redis-server.md @@ -3,7 +3,7 @@ > Persistent key-value database. > More information: . -- Start Redis server, using the default port (6379), and write logs to `stdout`: +- Start Redis server, using the default port (6379), and write logs to stdout: `redis-server` diff --git a/pages/common/reflex.md b/pages/common/reflex.md index 6f0152090..80fb92200 100644 --- a/pages/common/reflex.md +++ b/pages/common/reflex.md @@ -7,7 +7,7 @@ `reflex make` -- Compile and run Go application if any .go file changes: +- Compile and run Go application if any `.go` file changes: `reflex --regex='{{\.go$}}' {{go run .}}` diff --git a/pages/common/rev.md b/pages/common/rev.md index 0385bce58..fac7ada71 100644 --- a/pages/common/rev.md +++ b/pages/common/rev.md @@ -6,6 +6,6 @@ `echo "hello" | rev` -- Reverse an entire file and print to `stdout`: +- Reverse an entire file and print to stdout: `rev {{file}}` diff --git a/pages/common/samtools.md b/pages/common/samtools.md index fc2291857..5c229cd51 100644 --- a/pages/common/samtools.md +++ b/pages/common/samtools.md @@ -7,7 +7,7 @@ `samtools view -S -b {{input.sam}} > {{output.bam}}` -- Take input from stdin (-) and print the SAM header and any reads overlapping a specific region to `stdout`: +- Take input from stdin (-) and print the SAM header and any reads overlapping a specific region to stdout: `{{other_command}} | samtools view -h - chromosome:start-end` diff --git a/pages/common/scala.md b/pages/common/scala.md index 80f053cac..387559145 100644 --- a/pages/common/scala.md +++ b/pages/common/scala.md @@ -11,7 +11,7 @@ `scala {{script.scala}}` -- Execute a .jar program: +- Execute a `.jar` program: `scala {{filename.jar}}` diff --git a/pages/common/scrapy.md b/pages/common/scrapy.md index 834c036b9..cd225b9b9 100644 --- a/pages/common/scrapy.md +++ b/pages/common/scrapy.md @@ -19,7 +19,7 @@ `scrapy crawl {{spider_name}}` -- Fetch a webpage as scrapy sees it and print source in `stdout`: +- Fetch a webpage as scrapy sees it and print source in stdout: `scrapy fetch {{url}}` diff --git a/pages/common/screen.md b/pages/common/screen.md index f22300598..7a853175e 100644 --- a/pages/common/screen.md +++ b/pages/common/screen.md @@ -10,7 +10,7 @@ `screen -S {{session_name}}` -- Start a new daemon and log the output to screenlog.x: +- Start a new daemon and log the output to `screenlog.x`: `screen -dmLS {{session_name}} {{command}}` diff --git a/pages/common/security-checker.md b/pages/common/security-checker.md index 6fe665425..b7990f38f 100644 --- a/pages/common/security-checker.md +++ b/pages/common/security-checker.md @@ -3,11 +3,11 @@ > Check if a PHP application uses dependencies with known security vulnerabilities. > More information: . -- Look for security issues in the project dependencies (based on the composer.lock file in the current directory): +- Look for security issues in the project dependencies (based on the `composer.lock` file in the current directory): `security-checker security:check` -- Use a specific composer.lock file: +- Use a specific `composer.lock` file: `security-checker security:check {{path/to/composer.lock}}` diff --git a/pages/common/sed.md b/pages/common/sed.md index 6f1b4ad8e..e5d72d847 100644 --- a/pages/common/sed.md +++ b/pages/common/sed.md @@ -30,6 +30,6 @@ `sed -e 's/{{find}}/{{replace}}/' -e 's/{{find}}/{{replace}}/' {{filename}}` -- Replace separator / by any other character not used in the find or replace patterns, e.g., #: +- Replace separator `/` by any other character not used in the find or replace patterns, e.g., `#`: `sed 's#{{find}}#{{replace}}#' {{filename}}` diff --git a/pages/common/sendmail.md b/pages/common/sendmail.md index 932241182..aa35dd506 100644 --- a/pages/common/sendmail.md +++ b/pages/common/sendmail.md @@ -2,7 +2,7 @@ > Send email from the command line. -- Send a message with the content of message.txt to the mail directory of local user `username`: +- Send a message with the content of `message.txt` to the mail directory of local user `username`: `sendmail {{username}} < {{message.txt}}` diff --git a/pages/common/seq.md b/pages/common/seq.md index 29482962d..74eec36ff 100644 --- a/pages/common/seq.md +++ b/pages/common/seq.md @@ -1,6 +1,6 @@ # seq -> Output a sequence of numbers to `stdout`. +> Output a sequence of numbers to stdout. - Sequence from 1 to 10: diff --git a/pages/common/sh.md b/pages/common/sh.md index 9537d7114..7c1085658 100644 --- a/pages/common/sh.md +++ b/pages/common/sh.md @@ -15,6 +15,6 @@ `sh {{file.sh}}` -- Run commands from `stdin`: +- Run commands from stdin: `sh -s` diff --git a/pages/common/shards.md b/pages/common/shards.md index bc070a8f5..12e460c61 100644 --- a/pages/common/shards.md +++ b/pages/common/shards.md @@ -3,11 +3,11 @@ > Dependency management tool for the Crystal language. > More information: . -- Create a skeleton shard.yml file: +- Create a skeleton `shard.yml` file: `shards init` -- Install dependencies from a shard.yml file: +- Install dependencies from a `shard.yml` file: `shards install` diff --git a/pages/common/shasum.md b/pages/common/shasum.md index 46447f6a1..057ef92a4 100644 --- a/pages/common/shasum.md +++ b/pages/common/shasum.md @@ -26,6 +26,6 @@ `shasum --check --quiet {{list_file}}` -- Calculate the SHA1 checksum from `stdin`: +- Calculate the SHA1 checksum from stdin: `{{somecommand}} | shasum` diff --git a/pages/common/sshpass.md b/pages/common/sshpass.md index 998096afa..a7de6110b 100644 --- a/pages/common/sshpass.md +++ b/pages/common/sshpass.md @@ -1,9 +1,9 @@ # sshpass > An ssh password provider. -> It works by creating a TTY, feeding the password into it, and then redirecting `stdin` to the ssh session. +> It works by creating a TTY, feeding the password into it, and then redirecting stdin to the ssh session. -- Connect to a remote server using a password supplied on a file descriptor (in this case, `stdin`): +- Connect to a remote server using a password supplied on a file descriptor (in this case, stdin): `sshpass -d {{0}} ssh {{user}}@{{hostname}}` diff --git a/pages/common/sudo.md b/pages/common/sudo.md index 129833370..b067b5fdf 100644 --- a/pages/common/sudo.md +++ b/pages/common/sudo.md @@ -15,7 +15,7 @@ `sudo --user={{user}} --group={{group}} {{id -a}}` -- Repeat the last command prefixed with "sudo" (only in `bash`, `zsh`, etc.): +- Repeat the last command prefixed with `sudo` (only in `bash`, `zsh`, etc.): `sudo !!` diff --git a/pages/common/supervisorctl.md b/pages/common/supervisorctl.md index a42960008..79a8f40d4 100644 --- a/pages/common/supervisorctl.md +++ b/pages/common/supervisorctl.md @@ -12,11 +12,11 @@ `supervisorctl {{start|stop|restart}} {{group_name}}:*` -- Show last 100 **bytes** of process `stderr`: +- Show last 100 **bytes** of process stderr: `supervisorctl tail -100 {{process_name}} stderr` -- Keep displaying `stdout` of a process: +- Keep displaying stdout of a process: `supervisorctl tail -f {{process_name}} stdout` diff --git a/pages/common/tesseract.md b/pages/common/tesseract.md index ee138f98c..09bcb5902 100644 --- a/pages/common/tesseract.md +++ b/pages/common/tesseract.md @@ -3,7 +3,7 @@ > OCR (Optical Character Recognition) engine. > More information: . -- Recognize text in an image and save it to `output.txt` (the '.txt' extension is added automatically): +- Recognize text in an image and save it to `output.txt` (the `.txt` extension is added automatically): `tesseract {{image.png}} {{output}}` diff --git a/pages/common/tldrl.md b/pages/common/tldrl.md index 9aefd47c2..bcf568e18 100644 --- a/pages/common/tldrl.md +++ b/pages/common/tldrl.md @@ -7,7 +7,7 @@ `tldrl {{pages_directory}}` -- Format a specific page to `stdout`: +- Format a specific page to stdout: `tldrl -f {{page.md}}` diff --git a/pages/common/tox.md b/pages/common/tox.md index 45bc437b1..d38a08169 100644 --- a/pages/common/tox.md +++ b/pages/common/tox.md @@ -8,7 +8,7 @@ `tox` -- Create a tox.ini configuration: +- Create a `tox.ini` configuration: `tox-quickstart` diff --git a/pages/common/unzip.md b/pages/common/unzip.md index 7c30e376c..50dd30996 100644 --- a/pages/common/unzip.md +++ b/pages/common/unzip.md @@ -14,7 +14,7 @@ `unzip -l {{file.zip}}` -- Extract the contents of the file(s) to `stdout` alongside the extracted file names: +- Extract the contents of the file(s) to stdout alongside the extracted file names: `unzip -c {{file.zip}}` diff --git a/pages/common/vcsh.md b/pages/common/vcsh.md index 6847708a0..3ec8b0e88 100644 --- a/pages/common/vcsh.md +++ b/pages/common/vcsh.md @@ -23,6 +23,6 @@ `vcsh {{push|pull}}` -- Write a custom .gitignore file for a managed repository: +- Write a custom `.gitignore` file for a managed repository: `vcsh write-gitignore {{repository_name}}` diff --git a/pages/common/vsce.md b/pages/common/vsce.md index e2ed22aca..1a47d6c85 100644 --- a/pages/common/vsce.md +++ b/pages/common/vsce.md @@ -15,7 +15,7 @@ `vsce unpublish {{extension_id}}` -- Package the current working directory as .vsix file: +- Package the current working directory as a `.vsix` file: `vsce package` diff --git a/pages/common/wapm.md b/pages/common/wapm.md index 9e6f1e8c0..6f4656207 100644 --- a/pages/common/wapm.md +++ b/pages/common/wapm.md @@ -3,11 +3,11 @@ > The WebAssembly package manager. > More information: . -- Interactively create a new wapm.toml file: +- Interactively create a new `wapm.toml` file: `wapm init` -- Download all the packages listed as dependencies in wapm.toml: +- Download all the packages listed as dependencies in `wapm.toml`: `wapm install` @@ -19,7 +19,7 @@ `wapm install --global {{package_name}}` -- Uninstall a package and remove it from the list of dependencies in wapm.toml: +- Uninstall a package and remove it from the list of dependencies in `wapm.toml`: `wapm uninstall {{package_name}}` diff --git a/pages/common/wasm2c.md b/pages/common/wasm2c.md index c40ba907e..b29e22483 100644 --- a/pages/common/wasm2c.md +++ b/pages/common/wasm2c.md @@ -6,6 +6,6 @@ `wasm2c {{file.wasm}}` -- Write the output to a given file (file.h gets additionally generated): +- Write the output to a given file (`file.h` gets additionally generated): `wasm2c {{file.wasm}} -o {{file.c}}` diff --git a/pages/common/webpack.md b/pages/common/webpack.md index a2f411737..1ceec62c7 100644 --- a/pages/common/webpack.md +++ b/pages/common/webpack.md @@ -7,7 +7,7 @@ `webpack {{app.js}} {{bundle.js}}` -- Load css files too from the js file (this uses the css loader for .css files): +- Load css files too from the js file (this uses the css loader for `.css` files): `webpack {{app.js}} {{bundle.js}} --module-bind 'css=css'` diff --git a/pages/common/webtorrent.md b/pages/common/webtorrent.md index a26065c22..e76189929 100644 --- a/pages/common/webtorrent.md +++ b/pages/common/webtorrent.md @@ -32,6 +32,6 @@ `webtorrent create {{path/to/file}}` -- Display information for a magnet uri or .torrent file: +- Display information for a magnet uri or `.torrent` file: `webtorrent info {{path/to/file_or_magnet}}` diff --git a/pages/common/while.md b/pages/common/while.md index ff72770ba..066290c91 100644 --- a/pages/common/while.md +++ b/pages/common/while.md @@ -2,7 +2,7 @@ > Simple shell loop. -- Read `stdin` and perform an action on every line: +- Read stdin and perform an action on every line: `while read line; do echo "$line"; done` diff --git a/pages/common/write.md b/pages/common/write.md index 490a4ebcb..eae6722bc 100644 --- a/pages/common/write.md +++ b/pages/common/write.md @@ -7,10 +7,10 @@ `write {{username}} {{terminal_id}}` -- Send message to "testuser" on terminal "/dev/tty/5": +- Send message to "testuser" on terminal `/dev/tty/5`: `write {{testuser}} {{tty/5}}` -- Send message to "jhondoe" on pseudo terminal "/dev/pts/5": +- Send message to "jhondoe" on pseudo terminal `/dev/pts/5`: `write {{jhondoe}} {{pts/5}}` diff --git a/pages/common/xz.md b/pages/common/xz.md index aeea0ebc8..f0cca6e5e 100644 --- a/pages/common/xz.md +++ b/pages/common/xz.md @@ -19,7 +19,7 @@ `xz -d --format=lzma {{file.lzma}}` -- Decompress a file and write to `stdout`: +- Decompress a file and write to stdout: `xz -dc {{file.xz}}` diff --git a/pages/common/yesod.md b/pages/common/yesod.md index 5e3721989..bef5b36dd 100644 --- a/pages/common/yesod.md +++ b/pages/common/yesod.md @@ -4,7 +4,7 @@ > All Yesod commands are invoked through the `stack` project manager. > More information: . -- Create a new scaffolded site, with sqlite as backend, in the "my-project" directory: +- Create a new scaffolded site, with sqlite as backend, in the `my-project` directory: `stack new {{my-project}} {{yesod-sqlite}}` diff --git a/pages/common/yq.md b/pages/common/yq.md index bd32fe637..83ddf3ab1 100644 --- a/pages/common/yq.md +++ b/pages/common/yq.md @@ -27,10 +27,10 @@ `yq write --inplace {{path/to/file.yaml}} '{{key}}' '{{value}}'` -- Merge two files and print to `stdout` (v4+): +- Merge two files and print to stdout (v4+): `yq eval-all 'select(filename == "{{path/to/file1.yaml}}") * select(filename == "{{path/to/file2.yaml}}")' {{path/to/file1.yaml}} {{path/to/file2.yaml}}` -- Merge two files and print to `stdout` (v3): +- Merge two files and print to stdout (v3): `yq merge {{path/to/file1.yaml}} {{path/to/file2.yaml}} --colors` diff --git a/pages/common/zstd.md b/pages/common/zstd.md index 8fa9e91c9..eaaacca6a 100644 --- a/pages/common/zstd.md +++ b/pages/common/zstd.md @@ -3,7 +3,7 @@ > Compress or decompress files with Zstandard compression. > More information: . -- Compress a file into a new file with the .zst suffix: +- Compress a file into a new file with the `.zst` suffix: `zstd {{file}}` @@ -11,7 +11,7 @@ `zstd -d {{file}}.zst` -- Decompress to `stdout`: +- Decompress to stdout: `zstd -dc {{file}}.zst` diff --git a/pages/linux/apt-get.md b/pages/linux/apt-get.md index ff54b10b7..4c85ff938 100644 --- a/pages/linux/apt-get.md +++ b/pages/linux/apt-get.md @@ -23,7 +23,7 @@ `apt-get upgrade` -- Clean the local repository - removing package files (.deb) from interrupted downloads that can no longer be downloaded: +- Clean the local repository - removing package files (`.deb`) from interrupted downloads that can no longer be downloaded: `apt-get autoclean` diff --git a/pages/linux/as.md b/pages/linux/as.md index 683f797c2..9f9d95c19 100644 --- a/pages/linux/as.md +++ b/pages/linux/as.md @@ -3,7 +3,7 @@ > Portable GNU assembler. > Primarily intended to assemble output from `gcc` to be used by `ld`. -- Assemble a file, writing the output to a.out: +- Assemble a file, writing the output to `a.out`: `as {{file.s}}` @@ -15,6 +15,6 @@ `as -f {{file.s}}` -- Include a given path to the list of directories to search for files specified in .include directives: +- Include a given path to the list of directories to search for files specified in `.include` directives: `as -I {{path/to/directory}} {{file.s}}` diff --git a/pages/linux/colrm.md b/pages/linux/colrm.md index a5b98ee8b..dad912ac8 100644 --- a/pages/linux/colrm.md +++ b/pages/linux/colrm.md @@ -1,8 +1,8 @@ # colrm -> Remove columns from `stdin`. +> Remove columns from stdin. -- Remove first column of `stdin`: +- Remove first column of stdin: `colrm {{1 1}}` diff --git a/pages/linux/cryptsetup.md b/pages/linux/cryptsetup.md index 5e458fd6b..246523a38 100644 --- a/pages/linux/cryptsetup.md +++ b/pages/linux/cryptsetup.md @@ -6,7 +6,7 @@ `cryptsetup luksFormat {{/dev/sda1}}` -- Open a LUKS volume and create a decrypted mapping at /dev/mapper/{{target}}: +- Open a LUKS volume and create a decrypted mapping at `/dev/mapper/{{target}}`: `cryptsetup luksOpen {{/dev/sda1}} {{target}}` diff --git a/pages/linux/ctrlaltdel.md b/pages/linux/ctrlaltdel.md index 3d268219f..897ef25c3 100644 --- a/pages/linux/ctrlaltdel.md +++ b/pages/linux/ctrlaltdel.md @@ -6,7 +6,7 @@ `ctrlaltdel` -- Set CRTL+ALT+DEL to reboot immediately, without any preparation: +- Set CTRL+ALT+DEL to reboot immediately, without any preparation: `sudo ctrlaltdel hard` diff --git a/pages/linux/dbus-daemon.md b/pages/linux/dbus-daemon.md index 38eb1323b..d8aee28db 100644 --- a/pages/linux/dbus-daemon.md +++ b/pages/linux/dbus-daemon.md @@ -18,7 +18,7 @@ `dbus-daemon --address {{address}}` -- Output the process id to `stdout`: +- Output the process id to stdout: `dbus-daemon --print-pid` diff --git a/pages/linux/debman.md b/pages/linux/debman.md index 5a6f5194d..ee2522bf1 100644 --- a/pages/linux/debman.md +++ b/pages/linux/debman.md @@ -10,6 +10,6 @@ `debman -p {{package_name}}={{version}} {{command_name}}` -- Read a man page in a .deb file: +- Read a man page in a `.deb` file: `debman -f {{path/to/filename.deb}} {{command_name}}` diff --git a/pages/linux/dget.md b/pages/linux/dget.md index d996705f1..65f84610d 100644 --- a/pages/linux/dget.md +++ b/pages/linux/dget.md @@ -7,10 +7,10 @@ `dget {{package_name}}` -- Download and extract a package source from its .dsc file: +- Download and extract a package source from its `.dsc` file: `dget {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` -- Download a package source tarball from its .dsc file but don't extract it: +- Download a package source tarball from its `.dsc` file but don't extract it: `dget -d {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` diff --git a/pages/linux/e2image.md b/pages/linux/e2image.md index a0c963276..b05e7d434 100644 --- a/pages/linux/e2image.md +++ b/pages/linux/e2image.md @@ -7,7 +7,7 @@ `e2image {{/dev/sdXN}} {{path/to/image_file}}` -- Print metadata located on device to `stdout`: +- Print metadata located on device to stdout: `e2image {{/dev/sdXN}} -` diff --git a/pages/linux/etckeeper.md b/pages/linux/etckeeper.md index 0cc04b156..bf2a8b4e5 100644 --- a/pages/linux/etckeeper.md +++ b/pages/linux/etckeeper.md @@ -3,11 +3,11 @@ > Track system configuration files in Git. > More information: . -- Set up a Git repo and perform various setup tasks (run from /etc): +- Set up a Git repo and perform various setup tasks (run from `/etc`): `sudo etckeeper init` -- Commit all changes in /etc: +- Commit all changes in `/etc`: `sudo etckeeper commit {{message}}` diff --git a/pages/linux/exif.md b/pages/linux/exif.md index fe8bce9cb..3dfb1240d 100644 --- a/pages/linux/exif.md +++ b/pages/linux/exif.md @@ -11,7 +11,7 @@ `exif --list-tags --no-fixup {{image.jpg}}` -- Extract the image thumbnail into the file thumbnail.jpg: +- Extract the image thumbnail into the file `thumbnail.jpg`: `exif --extract-thumbnail --output={{thumbnail.jpg}} {{image.jpg}}` @@ -19,6 +19,6 @@ `exif --ifd={{0}} --tag={{Model}} --machine-readable {{image.jpg}}` -- Change the value of the "Artist" tag to John Smith and save to new.jpg: +- Change the value of the "Artist" tag to John Smith and save to `new.jpg`: `exif --output={{new.jpg}} --ifd={{0}} --tag="{{Artist}}" --set-value="{{John Smith}}" --no-fixup {{image.jpg}}` diff --git a/pages/linux/firewall-cmd.md b/pages/linux/firewall-cmd.md index 3809533d0..61275c034 100644 --- a/pages/linux/firewall-cmd.md +++ b/pages/linux/firewall-cmd.md @@ -14,11 +14,11 @@ `firewall-cmd --permanent --zone={{block}} --change-interface={{enp1s0}}` -- Permanently open the port for a service in the specified zone (like port `443` when in the `public` zone): +- Permanently open the port for a service in the specified zone (like port 443 when in the `public` zone): `firewall-cmd --permanent --zone={{public}} --add-service={{https}}` -- Permanently close the port for a service in the specified zone (like port `80` when in the `public` zone): +- Permanently close the port for a service in the specified zone (like port 80 when in the `public` zone): `firewall-cmd --permanent --zone={{public}} --remove-service={{http}}` diff --git a/pages/linux/gcov.md b/pages/linux/gcov.md index c03c9d059..b592fcd4e 100644 --- a/pages/linux/gcov.md +++ b/pages/linux/gcov.md @@ -12,7 +12,7 @@ `gcov --all-blocks {{path/to/file.cpp}}` -- Write branch frequencies to the output file and print summary information to `stdout` as a percentage: +- Write branch frequencies to the output file and print summary information to stdout as a percentage: `gcov --branch-probabilities {{path/to/file.cpp}}` diff --git a/pages/linux/genkernel.md b/pages/linux/genkernel.md index a988de52b..7b5320bd5 100644 --- a/pages/linux/genkernel.md +++ b/pages/linux/genkernel.md @@ -18,6 +18,6 @@ `sudo genkernel --kernname={{custom_name}} all` -- Use a kernel source outside of the default directory /usr/src/linux: +- Use a kernel source outside of the default directory `/usr/src/linux`: `sudo genkernel --kerneldir={{path/to/directory}} all` diff --git a/pages/linux/gpasswd.md b/pages/linux/gpasswd.md index 524aac4ab..78008fba8 100644 --- a/pages/linux/gpasswd.md +++ b/pages/linux/gpasswd.md @@ -1,6 +1,6 @@ # gpasswd -> Administer "/etc/group" and "/etc/gshadow". +> Administer `/etc/group` and `/etc/gshadow`. - Define group administrators: diff --git a/pages/linux/ifup.md b/pages/linux/ifup.md index 198c4de34..312002814 100644 --- a/pages/linux/ifup.md +++ b/pages/linux/ifup.md @@ -6,6 +6,6 @@ `ifup {{eth0}}` -- Enable all the interfaces defined with "auto" in /etc/network/interfaces: +- Enable all the interfaces defined with "auto" in `/etc/network/interfaces`: `ifup -a` diff --git a/pages/linux/isoinfo.md b/pages/linux/isoinfo.md index 34f5a3204..1d62fe9f9 100644 --- a/pages/linux/isoinfo.md +++ b/pages/linux/isoinfo.md @@ -6,7 +6,7 @@ `isoinfo -f -i {{path/to/image.iso}}` -- E[x]tract a specific file from an ISO image and send it out `stdout`: +- E[x]tract a specific file from an ISO image and send it out stdout: `isoinfo -i {{path/to/image.iso}} -x {{/PATH/TO/FILE/INSIDE/ISO.EXT}}` diff --git a/pages/linux/libreoffice.md b/pages/linux/libreoffice.md index 0ad38c4f0..eb18c49f2 100644 --- a/pages/linux/libreoffice.md +++ b/pages/linux/libreoffice.md @@ -15,6 +15,6 @@ `libreoffice --pt {{printer_name}} {{path/to/file1}} {{path/to/file2}}` -- Convert all .doc files in current directory to pdf: +- Convert all `.doc` files in current directory to pdf: `libreoffice --convert-to {{pdf}} {{*.doc}}` diff --git a/pages/linux/logger.md b/pages/linux/logger.md index 07505d34e..c1fbb3deb 100644 --- a/pages/linux/logger.md +++ b/pages/linux/logger.md @@ -6,7 +6,7 @@ `logger {{message}}` -- Take input from `stdin` and log to syslog: +- Take input from stdin and log to syslog: `echo {{log_entry}} | logger` diff --git a/pages/linux/lslocks.md b/pages/linux/lslocks.md index 983afca92..d1728daea 100644 --- a/pages/linux/lslocks.md +++ b/pages/linux/lslocks.md @@ -18,6 +18,6 @@ `lslocks --pid {{PID}}` -- List locks with json output to `stdout`: +- List locks with json output to stdout: `lslocks --json` diff --git a/pages/linux/mkfs.vfat.md b/pages/linux/mkfs.vfat.md index 307b4cb15..9a6a0d924 100644 --- a/pages/linux/mkfs.vfat.md +++ b/pages/linux/mkfs.vfat.md @@ -2,7 +2,7 @@ > Creates an MS-DOS filesystem inside a partition. -- Create a.vfat filesystem inside partition 1 on device b (`sdb1`): +- Create a vfat filesystem inside partition 1 on device b (`sdb1`): `mkfs.vfat {{/dev/sdb1}}` diff --git a/pages/linux/named.md b/pages/linux/named.md index 0fcf3cf94..f0e048b42 100644 --- a/pages/linux/named.md +++ b/pages/linux/named.md @@ -15,7 +15,7 @@ `named {{-4|-6}}` -- Listen for queries on a specific port instead of the default port `53`: +- Listen for queries on a specific port instead of the default port 53: `named -p {{port}}` diff --git a/pages/linux/newgrp.md b/pages/linux/newgrp.md index a6d5a3c05..972cac559 100644 --- a/pages/linux/newgrp.md +++ b/pages/linux/newgrp.md @@ -6,6 +6,6 @@ `newgrp {{group_name}}` -- Reset primary group membership to user's default group in /etc/passwd: +- Reset primary group membership to user's default group in `/etc/passwd`: `newgrp` diff --git a/pages/linux/pdfgrep.md b/pages/linux/pdfgrep.md index 5e229a05b..475899f6c 100644 --- a/pages/linux/pdfgrep.md +++ b/pages/linux/pdfgrep.md @@ -14,7 +14,7 @@ `pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}` -- Find pattern in files with a .pdf extension in the current directory recursively: +- Find pattern in files with a `.pdf` extension in the current directory recursively: `pdfgrep --recursive {{pattern}}` diff --git a/pages/linux/perf.md b/pages/linux/perf.md index 4ea729365..44a32233a 100644 --- a/pages/linux/perf.md +++ b/pages/linux/perf.md @@ -10,10 +10,10 @@ `sudo perf top` -- Run a command and record its profile into "perf.data": +- Run a command and record its profile into `perf.data`: `sudo perf record {{command}}` -- Read "perf.data" (created by `perf record`) and display the profile: +- Read `perf.data` (created by `perf record`) and display the profile: `sudo perf report` diff --git a/pages/linux/photorec.md b/pages/linux/photorec.md index 5baa490f5..b2d6c2e3e 100644 --- a/pages/linux/photorec.md +++ b/pages/linux/photorec.md @@ -8,6 +8,6 @@ `sudo photorec {{/dev/sdb}}` -- Run PhotoRec on a disk image (image.dd): +- Run PhotoRec on a disk image (`image.dd`): `sudo photorec {{path/to/image.dd}}` diff --git a/pages/linux/scrot.md b/pages/linux/scrot.md index 43c1fd5ea..5fa37e249 100644 --- a/pages/linux/scrot.md +++ b/pages/linux/scrot.md @@ -6,7 +6,7 @@ `scrot` -- Capture a screenshot and save it as "capture.png": +- Capture a screenshot and save it as `capture.png`: `scrot {{capture.png}}` diff --git a/pages/linux/service.md b/pages/linux/service.md index db18fbee8..ba042f851 100644 --- a/pages/linux/service.md +++ b/pages/linux/service.md @@ -1,7 +1,7 @@ # service > Manage services by running init scripts. -> The full script path should be omitted (/etc/init.d/ is assumed). +> The full script path should be omitted (`/etc/init.d/` is assumed). - List the name and status of all services: diff --git a/pages/linux/ssh-add.md b/pages/linux/ssh-add.md index 134a17ddb..b3c63e5f7 100644 --- a/pages/linux/ssh-add.md +++ b/pages/linux/ssh-add.md @@ -3,7 +3,7 @@ > Manage loaded ssh keys in the ssh-agent. > Ensure that ssh-agent is up and running for the keys to be loaded in it. -- Add the default ssh keys in "~/.ssh" to the ssh-agent: +- Add the default ssh keys in `~/.ssh` to the ssh-agent: `ssh-add` diff --git a/pages/linux/sysctl.md b/pages/linux/sysctl.md index bb7388bcc..a5c362f1f 100644 --- a/pages/linux/sysctl.md +++ b/pages/linux/sysctl.md @@ -18,6 +18,6 @@ `sysctl fs.file-max` -- Apply changes from /etc/sysctl.conf: +- Apply changes from `/etc/sysctl.conf`: `sysctl -p` diff --git a/pages/linux/tomb.md b/pages/linux/tomb.md index cdc0aa03f..418038a18 100644 --- a/pages/linux/tomb.md +++ b/pages/linux/tomb.md @@ -14,7 +14,7 @@ `tomb lock {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}` -- Mount a tomb (by default in /media) using its key, making it usable as a regular filesystem directory: +- Mount a tomb (by default in `/media`) using its key, making it usable as a regular filesystem directory: `tomb open {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}` diff --git a/pages/linux/unshadow.md b/pages/linux/unshadow.md index 804a61c36..5100f6fab 100644 --- a/pages/linux/unshadow.md +++ b/pages/linux/unshadow.md @@ -3,7 +3,7 @@ > Utility provided by the John the Ripper project to obtain the traditional Unix password file if the system uses shadow passwords. > More information: . -- Combine the /etc/shadow and /etc/passwd of the current system: +- Combine the `/etc/shadow` and `/etc/passwd` of the current system: `sudo unshadow /etc/passwd /etc/shadow` diff --git a/pages/linux/update-alternatives.md b/pages/linux/update-alternatives.md index a2761858f..5265a3158 100644 --- a/pages/linux/update-alternatives.md +++ b/pages/linux/update-alternatives.md @@ -6,7 +6,7 @@ `sudo update-alternatives --install {{path/to/symlink}} {{command_name}} {{path/to/command_binary}} {{priority}}` -- Configure a symbolic link for "java": +- Configure a symbolic link for `java`: `sudo update-alternatives --config {{java}}` diff --git a/pages/linux/update-rc.d.md b/pages/linux/update-rc.d.md index f47ac09cd..bf440639f 100644 --- a/pages/linux/update-rc.d.md +++ b/pages/linux/update-rc.d.md @@ -1,7 +1,7 @@ # update-rc.d > Install and remove services which are System-V style init script links. -> Init scripts are in the /etc/init.d/. +> Init scripts are in the `/etc/init.d/`. - Install a service: diff --git a/pages/linux/urxvt.md b/pages/linux/urxvt.md index e6ff311ca..3f98607df 100644 --- a/pages/linux/urxvt.md +++ b/pages/linux/urxvt.md @@ -19,6 +19,6 @@ `urxvt --hold -e {{command}}` -- Run a command within the "sh" shell: +- Run a command within the `sh` shell: `urxvt -e {{sh}} -c {{command}}` diff --git a/pages/linux/whereis.md b/pages/linux/whereis.md index 304f23016..0c7df3318 100644 --- a/pages/linux/whereis.md +++ b/pages/linux/whereis.md @@ -14,7 +14,7 @@ `whereis -s {{gcc}} -m {{git}}` -- Locate binaries for gcc in /usr/bin/ only: +- Locate binaries for gcc in `/usr/bin/` only: `whereis -b -B {{/usr/bin/}} -f {{gcc}}` diff --git a/pages/linux/wine.md b/pages/linux/wine.md index a0508ca1a..a658b408b 100644 --- a/pages/linux/wine.md +++ b/pages/linux/wine.md @@ -3,11 +3,11 @@ > Run Windows programs on Unix. > More information: . -- Run ipconfig.exe program: +- Run `ipconfig.exe` program: `wine {{ipconfig}} {{/all}}` -- Run cmd.exe in background: +- Run `cmd.exe` in background: `wine start {{cmd}}` diff --git a/pages/linux/yank.md b/pages/linux/yank.md index 9cd2a4983..d6741a09f 100644 --- a/pages/linux/yank.md +++ b/pages/linux/yank.md @@ -1,6 +1,6 @@ # yank -> Read input from `stdin` and display a selection interface that allows a field to be selected and copied to the clipboard. +> Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard. - Yank using the default delimiters (\f, \n, \r, \s, \t): diff --git a/pages/osx/apachectl.md b/pages/osx/apachectl.md index 415871644..2cf39db44 100644 --- a/pages/osx/apachectl.md +++ b/pages/osx/apachectl.md @@ -2,7 +2,7 @@ > Apache HTTP Server control interface for macOS. -- Start the org.apache.httpd launchd job: +- Start the `org.apache.httpd` launchd job: `apachectl start` diff --git a/pages/osx/as.md b/pages/osx/as.md index 683f797c2..9f9d95c19 100644 --- a/pages/osx/as.md +++ b/pages/osx/as.md @@ -3,7 +3,7 @@ > Portable GNU assembler. > Primarily intended to assemble output from `gcc` to be used by `ld`. -- Assemble a file, writing the output to a.out: +- Assemble a file, writing the output to `a.out`: `as {{file.s}}` @@ -15,6 +15,6 @@ `as -f {{file.s}}` -- Include a given path to the list of directories to search for files specified in .include directives: +- Include a given path to the list of directories to search for files specified in `.include` directives: `as -I {{path/to/directory}} {{file.s}}` diff --git a/pages/osx/base64.md b/pages/osx/base64.md index 6296e69c3..bbf963491 100644 --- a/pages/osx/base64.md +++ b/pages/osx/base64.md @@ -10,10 +10,10 @@ `base64 -D -i {{base64_file}}` -- Encode from `stdin`: +- Encode from stdin: `echo -n {{plain_text}} | base64` -- Decode from `stdin`: +- Decode from stdin: `echo -n {{base64_text}} | base64 -D` diff --git a/pages/osx/csshX.md b/pages/osx/csshX.md index dd2fe252a..d269301ea 100644 --- a/pages/osx/csshX.md +++ b/pages/osx/csshX.md @@ -11,6 +11,6 @@ `csshX {{user@hostname1}} {{user@hostname2}} '--ssh_args' '-i {{path/to/ssh_key.pem}}'` -- Connect to a pre-defined cluster from /etc/clusters: +- Connect to a pre-defined cluster from `/etc/clusters`: `csshX cluster1` diff --git a/pages/osx/dd.md b/pages/osx/dd.md index 8ca14df8d..eea6dbc01 100644 --- a/pages/osx/dd.md +++ b/pages/osx/dd.md @@ -2,7 +2,7 @@ > Convert and copy a file. -- Make a bootable usb drive from an isohybrid file (such like archlinux-xxx.iso): +- Make a bootable usb drive from an isohybrid file (such like `archlinux-xxx.iso`): `dd if={{file.iso}} of=/dev/{{usb_drive}}` diff --git a/pages/osx/du.md b/pages/osx/du.md index d72ee896e..c018dc0a5 100644 --- a/pages/osx/du.md +++ b/pages/osx/du.md @@ -22,6 +22,6 @@ `du -h -d {{N}} {{path/to/directory}}` -- List the human-readable size of all .jpg files in subdirectories of the current directory, and show a cumulative total at the end: +- List the human-readable size of all `.jpg` files in subdirectories of the current directory, and show a cumulative total at the end: `du -ch */*.jpg` diff --git a/pages/osx/duti.md b/pages/osx/duti.md index 5f6c61635..8bc84e3e6 100644 --- a/pages/osx/duti.md +++ b/pages/osx/duti.md @@ -6,7 +6,7 @@ `duti -s {{com.apple.Safari}} {{public.html}} all` -- Set VLC as the default viewer for files with .m4v extensions: +- Set VLC as the default viewer for files with `.m4v` extensions: `duti -s {{org.videolan.vlc}} {{m4v}} viewer` diff --git a/pages/osx/logger.md b/pages/osx/logger.md index b7d1bc772..d5bad38eb 100644 --- a/pages/osx/logger.md +++ b/pages/osx/logger.md @@ -6,7 +6,7 @@ `logger {{message}}` -- Take input from `stdin` and log to syslog: +- Take input from stdin and log to syslog: `echo {{log_entry}} | logger` diff --git a/pages/osx/pdfgrep.md b/pages/osx/pdfgrep.md index 5e229a05b..475899f6c 100644 --- a/pages/osx/pdfgrep.md +++ b/pages/osx/pdfgrep.md @@ -14,7 +14,7 @@ `pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}` -- Find pattern in files with a .pdf extension in the current directory recursively: +- Find pattern in files with a `.pdf` extension in the current directory recursively: `pdfgrep --recursive {{pattern}}` diff --git a/pages/osx/plutil.md b/pages/osx/plutil.md index 7cfbdc449..cc5b560c1 100644 --- a/pages/osx/plutil.md +++ b/pages/osx/plutil.md @@ -18,6 +18,6 @@ `plutil -convert {{xml1|binary1|json|swift|objc}} {{path/to/file.plist}} -o {{path/to/new_file.plist}}` -- Convert a plist file to a different format, writing to `stdout`: +- Convert a plist file to a different format, writing to stdout: `plutil -convert {{xml1|binary1|json|swift|objc}} {{path/to/file.plist}} -o -` diff --git a/pages/osx/ssh-add.md b/pages/osx/ssh-add.md index f59e2546a..30d3a77c6 100644 --- a/pages/osx/ssh-add.md +++ b/pages/osx/ssh-add.md @@ -3,7 +3,7 @@ > Manage loaded ssh keys in the ssh-agent. > Ensure that ssh-agent is up and running for the keys to be loaded in it. -- Add the default ssh keys in "~/.ssh" to the ssh-agent: +- Add the default ssh keys in `~/.ssh` to the ssh-agent: `ssh-add` diff --git a/pages/osx/textutil.md b/pages/osx/textutil.md index 3708db593..83809b23b 100644 --- a/pages/osx/textutil.md +++ b/pages/osx/textutil.md @@ -2,11 +2,11 @@ > Used to manipulate text files of various formats. -- Display information about foo.rtf: +- Display information about `foo.rtf`: `textutil -info {{foo.rtf}}` -- Convert foo.rtf into foo.html: +- Convert `foo.rtf` into `foo.html`: `textutil -convert {{html}} {{foo.rtf}}` @@ -14,10 +14,10 @@ `textutil {{foo.rtf}} -convert {{txt}}` -- Convert foo.txt into foo.rtf, using Times 10 for the font: +- Convert `foo.txt` into `foo.rtf`, using Times 10 for the font: `textutil -convert {{rtf}} -font {{Times}} -fontsize {{10}} {{foo.txt}}` -- Load all RTF files in the current directory, concatenates their contents, and writes the result out as index.html with the HTML title set to "Several Files": +- Load all RTF files in the current directory, concatenates their contents, and writes the result out as `index.html` with the HTML title set to "Several Files": `textutil -cat {{html}} -title "Several Files" -output {{index.html}} *.rtf` diff --git a/pages/osx/whereis.md b/pages/osx/whereis.md index afcdb45cf..c3a44bce1 100644 --- a/pages/osx/whereis.md +++ b/pages/osx/whereis.md @@ -14,6 +14,6 @@ `whereis -s {{gcc}} -m {{git}}` -- Locate binaries for gcc in /usr/bin/ only: +- Locate binaries for gcc in `/usr/bin/` only: `whereis -b -B {{/usr/bin/}} -f {{gcc}}` diff --git a/pages/osx/yank.md b/pages/osx/yank.md index 9cd2a4983..d6741a09f 100644 --- a/pages/osx/yank.md +++ b/pages/osx/yank.md @@ -1,6 +1,6 @@ # yank -> Read input from `stdin` and display a selection interface that allows a field to be selected and copied to the clipboard. +> Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard. - Yank using the default delimiters (\f, \n, \r, \s, \t): diff --git a/pages/windows/choco-install.md b/pages/windows/choco-install.md index ff4a08f72..50609adb4 100644 --- a/pages/windows/choco-install.md +++ b/pages/windows/choco-install.md @@ -11,7 +11,7 @@ `choco install {{path/to/packages.config}}` -- Install a specific "nuspec" or "nupkg" file: +- Install a specific nuspec or nupkg file: `choco install {{path/to/file}}` diff --git a/pages/windows/more.md b/pages/windows/more.md index 21851eca4..4d0b8f408 100644 --- a/pages/windows/more.md +++ b/pages/windows/more.md @@ -1,9 +1,9 @@ # more -> Display paginated output from `stdin` or a file. +> Display paginated output from stdin or a file. > More information: . -- Display paginated output from `stdin`: +- Display paginated output from stdin: `{{echo test}} | more` diff --git a/pages/windows/msg.md b/pages/windows/msg.md index 6f5830d81..9cb7128ae 100644 --- a/pages/windows/msg.md +++ b/pages/windows/msg.md @@ -7,7 +7,7 @@ `msg {{username|session_name|session_id}} {{message}}` -- Send a message from `stdin`: +- Send a message from stdin: `echo "{{message}}" | msg {{username|session_name|session_id}}` diff --git a/pages/windows/rdpsign.md b/pages/windows/rdpsign.md index 777f95f45..40ab35c7c 100644 --- a/pages/windows/rdpsign.md +++ b/pages/windows/rdpsign.md @@ -19,6 +19,6 @@ `rdpsign {{path/to/file.rdp}} /v` -- Test the signing by displaying the output to `stdout` without updating the file: +- Test the signing by displaying the output to stdout without updating the file: `rdpsign {{path/to/file.rdp}} /l` diff --git a/pages/windows/robocopy.md b/pages/windows/robocopy.md index 8485a67bb..c076c2cfb 100644 --- a/pages/windows/robocopy.md +++ b/pages/windows/robocopy.md @@ -4,7 +4,7 @@ > By default files will only be copied if the source and destination have different time stamps or different file sizes. > More information: . -- Copy all .jpg and .bmp files from one directory to another: +- Copy all `.jpg` and `.bmp` files from one directory to another: `robocopy {{path/to/source}} {{path/to/destination}} {{*.jpg}} {{*.bmp}}` diff --git a/pages/windows/wsl.md b/pages/windows/wsl.md index 66fd67cfb..aab0688da 100644 --- a/pages/windows/wsl.md +++ b/pages/windows/wsl.md @@ -19,11 +19,11 @@ `wsl --list` -- Export a distribution to a .tar file: +- Export a distribution to a `.tar` file: `wsl --export {{distribution}} {{path/to/distro_fs.tar}}` -- Import a distribution from a .tar file: +- Import a distribution from a `.tar` file: `wsl --import {{distribution}} {{path/to/install_location}} {{path/to/distro_fs.tar}}`