pages*: update outdated pages (#11821)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
pull/11889/head
Sebastiaan Speck 2023-12-28 16:48:20 +01:00 committed by GitHub
parent 7635f3426f
commit dcb53c85a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
83 changed files with 228 additions and 360 deletions

View File

@ -18,7 +18,7 @@
- استبدال بالنص مُطابقةً (وليس التعبيرات النمطية)، في ملفات امتداداتهم إما js أو json فحسب:
`fastmod --fixed-strings {{نص_مطابِق}} {{بديل}} -e {{json,js}}`
`fastmod --fixed-strings {{نص_مطابِق}} {{بديل}} --extensions {{json,js}}`
- استبدال بجميع النصوص مُطابقةً، مباشرة دون مِحَثِّ تأكيد (prompt):

View File

@ -22,7 +22,7 @@
- ডায়গনিস্টিক আউটপুট থেকে একটি নির্দিষ্ট পরিষেবা বাদ দিন:
`dumpsys -- skip {{পরিষেবা}}`
`dumpsys --skip {{পরিষেবা}}`
- সেকেন্ডে একটি সময়সীমা নির্দিষ্ট করুন (ডিফল্ট 10 সেকেন্ড):

View File

@ -18,4 +18,4 @@
- কমিট তৈরি না করেই ওয়ার্কিং ডিরেক্টরিতে কমিটের পরিবর্তন যোগ করুন:
`git cherry-pick -n {{কমিট}}`
`git cherry-pick --no-commit {{কমিট}}`

View File

@ -29,4 +29,4 @@
- একটি ফাইল থেকে ম্যাক্রোগুলি লোড করুন:
`doskey /macrofile={{ফাইলের\পথ}}`
`doskey /macrofile = {{ফাইলের\পথ}}`

View File

@ -3,6 +3,6 @@
> Vidi koliko dugo traje komanda.
> Više informacija: <https://manned.org/time>.
- Vrijeme `ls`:
- Vrijeme `komanda`:
`time ls`
`time {{komanda}}`

View File

@ -9,11 +9,11 @@
- Busca paquets que continguin l'arxiu o ruta especificada:
`apt-file search {{ruta/al/arxiu}}`
`apt-file {{search|find}} {{ruta/al/arxiu}}`
- Mostra el contingut del paquet especificat:
`apt-file list {{nom_paquet}}`
`apt-file {{show|list}} {{nom_paquet}}`
- Busca paquets que igualin l'expressió regular donada en `patró`:

View File

@ -5,4 +5,4 @@
- Borra un grup existent:
`groupdel {{nom_del_grup}}`
`sudo groupdel {{nom_del_grup}}`

View File

@ -9,7 +9,7 @@
- Obre un terminal en una finestra nova:
`Super + Enter`
`Super + Return`
- Crea un nou espai de treball:

View File

@ -25,7 +25,7 @@
- Enmascara/Desenmascara una unitat per evitar la seva habilitació i activació manual:
`systemctl {{mask|unmask}} {{unida`
`systemctl {{mask|unmask}} {{unida}}`
- Recarrega systemd, buscant unitats noves o modificades:

View File

@ -30,4 +30,4 @@
- Crea un usuari nou del sistema sense directori home:
`sudo useradd --no-create-home --system {{nom_usuari}}`
`sudo useradd --system {{nom_usuari}}`

View File

@ -6,20 +6,20 @@
- Canvia el nom d'usuari:
`sudo_usermod -l {{nou_nom_usuari}} {{nom_usuari}}`
`sudo usermod --login {{nou_nom_usuari}} {{nom_usuari}}`
- Canvia l'id d'usuari:
`sudo_usermod --uid {{id}} {{nom_usuari}}`
`sudo usermod --uid {{id}} {{nom_usuari}}`
- Canvia la shell d'un usuari:
`sudo_usermod --shell {{cami/a/shell}} {{nom_usuar}}`
`sudo usermod --shell {{cami/a/shell}} {{nom_usuar}}`
- Afegeix un usuari a grups suplementaris (cal tenir en compte els espais en blanc):
`sudo_usermod -a -G {{grup1,grup2}} {{nom_usuar}}`
`sudo usermod --append --groups {{grup1,grup2}} {{nom_usuar}}`
- Crea un nou directori home per un usuari i mou tots els arxius a ell:
`sudo_usermod -m -d {{ruta/al/home}} {{nom_usuar}}`
`sudo usermod --move-home --home {{ruta/al/home}} {{nom_usuar}}`

View File

@ -11,6 +11,10 @@
`ab -n {{100}} -c {{10}} {{url}}`
- Sende 100 HTTP POST Anfragen mit der in der angegebenen Datei gespeicherten Payload an eine URL:
`ab -n {{100}} -T {{application/json}} -p {{pfad/zu/datei.json}} {{url}}`
- Wach halten:
`ab -k {{url}}`
@ -18,7 +22,3 @@
- Lege die maximale Anzahl an Sekunden fest, die das Benchmarking dauern darf:
`ab -t {{60}} {{url}}`
- Sende 100 HTTP POST Anfragen an eine URL, wobei eine JSON Belastung aus einer Datei verwendet wird:
`ab -n {{100}} -T {{application/json}} -p {{pfad/zu/datei.json}} {{url}}`

View File

@ -6,7 +6,7 @@
- Pinge einen Host mit ARP Request Paketen:
`arping {{host_adresse}`
`arping {{host_adresse}}`
- Pinge einen Host auf einem spezifizierten Interface:

View File

@ -16,11 +16,11 @@
`aws ec2 describe-volumes`
- Liste Informationen zu einem bestimmten EC2 Volumen auf:
- Lösche ein EC2 Volumen:
`aws ec2 describe-volume --volume-id {{volumen_id}}`
`aws ec2 delete-volume --volume-id {{volumen_id}}`
- Erstelle einen Snapshot, basierend auf einem EC2 Volumen:
- Erstelle einen Snapshot basierend auf einem EC2 Volumen:
`aws ec2 create-snapshot --volume-id {{volumen_id}}`

View File

@ -18,11 +18,11 @@
- Nummeriere alle ausgegebenen Zeilen:
`bat -n {{pfad/zu/datei}}`
`bat --number {{pfad/zu/datei}}`
- Hebe die Syntax einer JSON-Datei hervor:
`bat --language {{json}} {{pfad/zu/datei.json}}`
`bat --language json {{pfad/zu/datei.json}}`
- Zeige alle unterstützten Sprachen an:

View File

@ -18,7 +18,7 @@
- Extrahiere ein bestimmtes Verzeichnis aus dem "Montag"-Archiv in einem entfernten Repository, unter Ausschluss aller `*.ext`-Dateien:
`borg extract {{benutzer}}@{{host}}:{{pfad/zu/repo_verzeichnis}}::{{Montag}} {{pfad/zu/ziel_verzeichnis} --exclude '{{*.ext}}'`
`borg extract {{benutzer}}@{{host}}:{{pfad/zu/repo_verzeichnis}}::{{Montag}} {{pfad/zu/ziel_verzeichnis}} --exclude '{{*.ext}}'`
- Bereinige ein Repository, indem alle Archive gelöscht werden, die älter als 7 Tage sind und Änderungen aufweisen:

View File

@ -9,16 +9,16 @@
- Verkette mehrere Dateien und speichere das Ergebnis in einer neuen Datei:
`cat {{pfad/zu/datei1}} {{pfad/zu/datei2}} > {{pfad/zu/ziel_datei}}`
`cat {{pfad/zu/datei1 pfad/zu/datei2 ...}} > {{pfad/zu/ziel_datei}}`
- Verkette mehrere Dateien und hänge das Ergebnis an eine Datei an:
`cat {{pfad/zu/datei1}} {{pfad/zu/datei2}} >> {{pfad/zu/ziel_datei}}`
`cat {{pfad/zu/datei1 pfad/zu/datei2 ...}} >> {{pfad/zu/ziel_datei}}`
- Nummeriere alle ausgegebenen Zeilen:
- Kopiere den Inhalt einer Datei in eine Ausgabedatei ohne zu puffern:
`cat -n {{pfad/zu/datei}}`
`cat -u {{/dev/tty12}} > {{/dev/tty13}}`
- Gib eine Datei inklusive aller unsichtbaren Leerzeichen aus (mit `M-` Präfix wenn sie nicht ASCII sind):
- Schreibe `stdin` in eine Datei:
`cat -v -t -e {{pfad/zu/datei}}`
`cat - > {{pfad/zu/datei}}`

View File

@ -17,7 +17,7 @@
- Öffne eine URL im Anwendungsmodus (ohne Symbolleisten, Suchleiste, Schaltflächen usw.):
`chromium --app='{{https://beispiel.com}}'`
`chromium --app={{https://beispiel.com}}`
- Öffne eine URL und verwende einen Proxy-Server:
@ -33,4 +33,4 @@
- Öffne Chromium mit einem `DevTools`-Fenster für jeden geöffneten Tab:
`chromium --auto-open--devtools-for-tabs`
`chromium --auto-open-devtools-for-tabs`

View File

@ -17,4 +17,4 @@
- Liste alle verfügbaren Shells auf:
`chsh --list-shells`
`chsh -l`

View File

@ -14,11 +14,11 @@
- Lade eine Umgebung:
`conda {{activate umgebungs_name}}`
`conda activate {{umgebungs_name}}`
- Entlade eine Umgebung:
`conda {{deactivate}}`
`conda deactivate`
- Lösche eine Umgebung (entferne alle Pakete):

View File

@ -17,15 +17,15 @@
- Hänge Bilder horizontal aneinander:
`convert {{pfad/zu/bild1.png}} {{pfad/zu/bild2.png}} {{pfad/zu/bild3.png}} +append {{pfad/zu/bild123.png}}`
`convert {{pfad/zu/bild1.png pfad/zu/bild2.png ...}} +append {{pfad/zu/bild.png}}`
- Hänge Bilder vertikal aneinander:
`convert {{pfad/zu/bild1.png}} {{pfad/zu/bild2.png}} {{pfad/zu/bild3.png}} -append {{pfad/zu/bild123.png}}`
`convert {{pfad/zu/bild1.png pfad/zu/bild2.png ...}} -append {{pfad/zu/bild.png}}`
- Erstelle ein animiertes GIF aus einer Serie von Bildern mit einer Verzögerung von 100 ms zwischen den Bildern:
`convert {{pfad/zu/bild1.png}} {{pfad/zu/bild2.png}} {{pfad/zu/bild3.png}} -delay {{10}} {{pfad/zu/animation.gif}}`
`convert {{pfad/zu/bild1.png pfad/zu/bild2.png ...}} -delay {{10}} {{pfad/zu/animation.gif}}`
- Erstelle ein Bild mit nichts als einem festen Hintergrund:
@ -33,4 +33,4 @@
- Erstelle ein Favicon aus mehreren Bildern verschiedener Größe:
`convert {{pfad/zu/bild1.png}} {{pfad/zu/bild2.png}} {{pfad/zu/bild3.png}} {{pfad/zu/bild.ico}}`
`convert {{pfad/zu/bild1.png pfad/zu/bild2.png ...}} {{pfad/zu/bild.ico}}`

View File

@ -14,7 +14,7 @@
- Lade eine Datei herunter, folge Weiterleitungen und setze vergangene Dateitransfers automatisch fort:
`curl --remote-name --location --continue-at - {{http://beispiel.de/datei}}`
`curl --fail --remote-name --location --continue-at - {{http://beispiel.de/datei}}`
- Sende formular-codierte Daten (POST Anfragen des Typs `application/x-www-form-urlencoded`). Benutze `--data @dateiname` oder `--data @'-'`, um von STDIN zu lesen:
@ -28,9 +28,9 @@
`curl --data {{'{"name":"karl-dieter"}'}} --header {{'Content-Type: application/json'}} {{http://beispiel.de/benutzer/1234}}`
- Übergib einen Benutzernamen und Passwort für die Server-Authentifizierung:
- Übergib einen Benutzernamen und frage nach einem Passwort für die Server-Authentifizierung:
`curl --user benutzername:passwort {{http://beispiel.de}}`
`curl --user {{benutzername}} {{http://beispiel.de}}`
- Übergib Client-Zertifikat und -Schlüssel für eine Ressource und überspringe die Zertifikatsüberprüfung:

View File

@ -9,7 +9,7 @@
- Schneide einen bestimmten Bereich jeder Zeile mit einem bestimmten Trennzeichen aus:
`{{befehl}} | cut --delimiter="{{,}} --{{characters}}={{1}}"`
`{{befehl}} | cut --delimiter="{{,}}" --{{characters}}={{1}}`
- Schneide einen bestimmten Bereich jeder Zeile einer bestimmten Datei aus:

View File

@ -9,15 +9,15 @@
- Erzeuge und starte alle Container im Hintergrund unter der Verwendung der Datei `docker-compose.yml` im aktuellen Verzeichnis:
`docker compose up -d`
`docker compose up --detach`
- Starte alle Container. Erzeuge zugehörige Docker Images bei Bedarf neu:
`docker compose up --build`
- Starte alle Container unter Verwendung einer alternativen Compose Datei:
- Starte alle Container durch Angabe eines Projektnamens unter Verwendung einer alternativen Compose-Datei:
`docker compose --file {{pfad/zu/verzeichnis}} up`
`docker compose -p {{Projektname}} --file {{pfad/zu/verzeichnis}} up`
- Stoppe alle laufenden Container:

View File

@ -4,17 +4,13 @@
> Manche Unterbefehle wie `docker run` sind separat dokumentiert.
> Weitere Informationen: <https://docs.docker.com/engine/reference/commandline/cli/>.
- Liste zur Zeit laufende Container auf:
`docker ps`
- Liste laufende und gestoppte Container auf:
`docker ps -a`
`docker ps --all`
- Erzeuge einen Container aus einem Image und benenne ihn:
`docker run --name {{container_name}} {{pfad/zu/image}}`
`docker run --name {{container_name}} {{image}}`
- Stoppe oder starte einen existierenden Container:
@ -22,7 +18,11 @@
- Lade ein Image herunter:
`docker pull {{pfad/zu/image}}`
`docker pull {{image}}`
- Zeige eine Liste der bereits heruntergeladenen Images an:
`docker images`
- Öffne eine Konsole innerhalb eines bereits laufenden Containers:

View File

@ -25,4 +25,4 @@
- Liste die menschenlesbare Größe aller `.jpg`-Dateien in Unterverzeichnissen des aktuellen Verzeichnisses auf und zeige am Ende die kumulierte Gesamtsumme an:
`du -ch */*.jpg`
`du -ch {{*/*.jpg}}`

View File

@ -17,4 +17,4 @@
- Linte mit einer Konfigurationsdatei:
`eslint -c {{pfad/zu/konfigurationsdatei}} {{pfad/zu/datei1.js pfad/zu/datei2.js ...}`
`eslint -c {{pfad/zu/konfigurationsdatei}} {{pfad/zu/datei1.js pfad/zu/datei2.js ...}}`

View File

@ -5,32 +5,28 @@
- Extrahiere den Ton eines Videos und speichere ihn als MP3:
`ffmpeg -i {{pfad/zu/video.mp4}} -vn {{pfad/zu/audio.mp3}}`
- Konvertiere Frames eines Videos oder Gifs zu individuellen, nummerierten Bildern:
`ffmpeg -i {{video.mpg|video.gif}} {{pfad/zu/frame_%d.png}}`
`ffmpeg -i {{pfad/zu/video.mp4}} -vn {{pfad/zu/audio}}.mp3`
- Kombiniere nummerierte Bilder (`frame_1.jpg`, `frame_2.jpg`, etc) in ein Video oder Gif:
`ffmpeg -i {{pfad/zu/frame_%d.jpg}} -f bild2 {{video.mpg|video.gif}}`
`ffmpeg -i {{pfad/zu/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}`
- Extrahiere einen einzelnen Frame von einem Video bei mm:ss and speichere als 128x128 Bild:
`ffmpeg -ss {{mm:ss}} -i {{pfad/zu/video.mp4}} -frames 1 -s {{128x128}} -f bild2 {{pfad/zu/bild.png}}`
`ffmpeg -ss {{mm:ss}} -i {{pfad/zu/video.mp4}} -frames 1 -s {{128x128}} -f image2 {{pfad/zu/bild.png}}`
- Trimme ein Video von mm:ss bis mm2:ss2 (Ohne -to bis zum Ende des Videos):
`ffmpeg -ss {{mm1:ss1}} -to {{mm2:ss2}} -i {{video.mp4}} -codec copy {{pfad/zu/output.mp4}}`
`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{pfad/zu/video/video.mp4}} -codec copy {{pfad/zu/output.mp4}}`
- Konvertiere ein AVI Video zu MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23:
`ffmpeg -i {{pfad/zu/input_video}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{pfad/zu/output_video}}.mp4`
`ffmpeg -i {{pfad/zu/input_video}}.avi -codec:a aac -b:a 128k -codec:v libx264 -crf 23 {{pfad/zu/output_video}}.mp4`
- Remuxe ein MKV Video zu MP4 ohne Audio oder Video streams neu zu codieren:
`ffmpeg -i {{pfad/zu/input_video}}.mkv -codec copy {{pfad/zu/output_video}}.mp4`
- Konvertiere ein MP4 video zu VP9. Für beste Qualität, nutze einen CRF Wert von 15 bis 35 und -b:video MUSS 0 sein:
- Konvertiere ein MP4 video zu VP9. Für beste Qualität, nutze einen CRF Wert von 15 bis 35 und -b:v MUSS 0 sein:
`ffmpeg -i {{pfad/zu/input_video}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{thread_anzahl}} {{pfad/zu/output_video}}.webm`
`ffmpeg -i {{pfad/zu/input_video}}.mp4 -codec:v libvpx-vp9 -crf {{30}} -b:v 0 -codec:a libopus -vbr on -threads {{thread_anzahl}} {{pfad/zu/output_video}}.webm`

View File

@ -5,9 +5,9 @@
- Zeige alle verfügbaren Stream-Informationen einer Medien-Datei an:
`ffprobe -v error -show_entries {{datei.mp4}}`
`ffprobe -v error -show_streams {{datei.mp4}}`
- Zeige Spieldauer an:
- Zeige die Spieldauer an:
`ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{datei.mp4}}`

View File

@ -3,9 +3,9 @@
> Googles Cross-Platform Open-Source SDK.
> Weitere Informationen: <https://github.com/flutter/flutter/wiki/The-flutter-tool>.
- Zeige hilfe für einen bestimmten Befehl:
- Initialisiere ein neues Flutter-Projekt in einem gleichnamigen Verzeichnis:
`flutter help {{befehl}}`
`flutter create {{Projektname}}`
- Überprüfe, ob alle externen Tools korrekt installiert sind:
@ -19,10 +19,6 @@
`flutter run -d all`
- Downloade alle Pakete `pubspec.yaml`:
`flutter pub get`
- Starte Tests in einem Projekt vom Wurzelverzeichnes aus:
`flutter test {{test/beispiel_test.dart}}`
@ -30,3 +26,7 @@
- Baue eine Release APK für die meisten modernen Smartphones:
`flutter build apk --target-platform {{android-arm}},{{android-arm64}}`
- Zeige Hilfe für einen bestimmten Befehl:
`flutter help {{befehl}}`

View File

@ -13,7 +13,7 @@
- Integriere eine externe Patch-Datei:
`curl {{https://beispiel.de/datei.patch}} | git apply`
`curl -L {{https://beispiel.de/datei.patch}} | git apply`
- Gib diffstat des Inputs aus und integriere die Patch-Datei:

View File

@ -3,13 +3,13 @@
> Verwalte und Arbeite mit Git Branches.
> Weitere Informationen: <https://git-scm.com/docs/git-branch>.
- Liste alle lokalen Branches auf. Der momentan aktive (ausgecheckte) Branch wird mit `*` markiert:
- Liste alle Branches auf (Lokal und Remote). Der momentan aktive (ausgecheckte) Branch wird mit `*` markiert:
`git branch`
`git branch --all`
- Liste alle Branches auf (Lokal und Remote):
- Liste alle Branches auf, welche einen spezifischen Git-Commit in ihrer Historie enthalten:
`git branch -a`
`git branch --all --contains {{commit_hash}}`
- Zeige den Namen des aktuellen Branches:

View File

@ -3,9 +3,9 @@
> Committe Dateien in ein Repository.
> Weitere Informationen: <https://git-scm.com/docs/git-commit>.
- Committe gestagten Dateien zum Repository mit einer Nachricht:
- Committe die gestagten Dateien mit einer Nachricht in das Repository:
`git commit -m "{{nachricht}}"`
`git commit --message "{{nachricht}}"`
- Committe alle gestagten Dateien zum Repository mit einer Nachricht aus einer Datei:
@ -13,11 +13,11 @@
- Stage alle modifizierten Dateien und committe sie mit einer Nachricht:
`git commit -a -m "{{nachricht}}"`
`git commit --all --message "{{nachricht}}"`
- Committe alle gestagten Dateien und [S]igniere sie mit dem in `~/.gitconfig` definierten GPG Schlüssel:
- Committe gestagten Dateien und signiere sie mit dem definierten GPG Schlüssel (oder mit dem in der Konfigurationsdatei definierten, wenn kein Argument angegeben ist):
`git commit -S -m "{{nachricht}}"`
`git commit --gpg-sign {{key_id}} --message "{{nachricht}}"`
- Ersetze den letzten Commit mit den gerade auf dem Stage liegenden Änderungen:
@ -29,4 +29,4 @@
- Erzeuge einen Commit, auch wenn keine Dateien auf dem Stage liegen:
`git commit -m "{{nachricht}}" --allow-empty`
`git commit --message "{{nachricht}}" --allow-empty`

View File

@ -5,15 +5,7 @@
- Lösche Dateien an beliebigen Speicherorten:
`rm {{pfad/zu/datei}} {{pfad/zu/anderer/datei}}`
- Lösche ein Verzeichnis und alle seine Unterverzeichnisse rekursiv:
`rm -r {{pfad/zu/verzeichnis}}`
- Erzwinge das Löschen eines Verzeichnisses, ohne Eingabeaufforderung zur Bestätigung oder Anzeigen von Fehlermeldungen:
`rm -rf {{pfad/zu/verzeichnis}}`
`rm {{pfad/zu/datei1 pfad/zu/datei2 ...}}`
- Lösche mehrere Dateien mit Eingabeaufforderung zur Bestätigung für jede Datei:
@ -22,3 +14,7 @@
- Liste jede Datei auf, wenn sie gelöscht wird:
`rm -v {{pfad/zu/verzeichnis/*}}`
- Lösche ein Verzeichnis und alle seine Unterverzeichnisse rekursiv:
`rm -r {{pfad/zu/verzeichnis}}`

View File

@ -18,7 +18,7 @@
- Numera las líneas del archivo:
`bat -n {{archivo}}`
`bat --number {{archivo}}`
- Muestra un archivo JSON con resaltado de sintaxis:

View File

@ -9,16 +9,8 @@
- Concatena múltiples archivos dentro de un archivo determinado:
`cat {{archivo1}} {{archivo2}} > {{archivo_final}}`
`cat {{archivo1 archivo2 ...}} > {{archivo_final}}`
- Añade múltiples archivos dentro de un archivo determinado:
`cat {{archivo1}} {{archivo2}} >> {{archivo_final}}`
- Muestra el número de líneas de un archivo:
`cat -n {{archivo}}`
- Muestra los carácteres no imprimibles y espacios en blanco (con el prefijo `M-` si no es ASCII):
`cat -v -t -e {{archivo}}`
`cat {{archivo1 archivo2 ...}} >> {{archivo_final}}`

View File

@ -5,15 +5,7 @@
- Elimina archivos de ubicaciones arbitrarias:
`rm {{ruta/al/archivo}} {{ruta/al/otro/archivo}}`
- Elimina, de forma recursiva, un directorio y todos sus subdirectorios:
`rm -r {{ruta/al/directorio}}`
- Elimina un directorio a la fuerza, sin pedir confirmación ni mostrar mensajes de error:
`rm -rf {{ruta/al/directorio}}`
`rm {{ruta/al/archivo1 ruta/al/archivo2 ...}}`
- Elimina varios archivos de forma interactiva, solicitando confirmación antes de eliminar cada archivo:
@ -22,3 +14,7 @@
- Elimina archivos en modo detallado, imprimiendo un mensaje por cada archivo eliminado:
`rm -v {{ruta/hacia/directorio/*}}`
- Elimina, de forma recursiva, un directorio y todos sus subdirectorios:
`rm -r {{ruta/al/directorio}}`

View File

@ -5,20 +5,12 @@
- چاپ محتویات فایل بر روی صفحه نمایش:
`cat {{file}}`
`cat {{path/to/file}}`
- ادغام چند فایل با هم و ایجاد فایل جدید:
`cat {{file1}} {{file2}} > {{target_file}}`
`cat {{path/to/file1 path/to/file2 ...}} > {{target_file}}`
- ادغام چند فایل با هم و اضافه کردن آن به فایل مقصد:
`cat {{file1}} {{file2}} >> {{target_file}}`
- شمارش تعداد خط های فایل:
`cat -n {{file}}`
- نمایش محتویات فایل بدون فضای خالی (نا مناسب برای چاپ):
`cat -v -t -e {{file}}`
`cat {{path/to/file1 path/to/file2 ...}} >> {{target_file}}`

View File

@ -3,6 +3,6 @@
> نمایش زمان اجرای یک دستور.
> اطلاعات بیشتر: <https://manned.org/time>.
- نمایش زمان اجرای دستور `ls`:
- نمایش زمان اجرای دستور `command`:
`time ls`
`time {{command}}`

View File

@ -18,11 +18,11 @@
- Numérote toutes les lignes affichées :
`bat -n {{fichier}}`
`bat --number {{fichier}}`
- Affiche le contenu d'un fichier JSON sur la sortie standard avec mise en valeur de la syntaxe :
`bat --language json {{fichier.json}}`
`bat --language json {{chemin/vers/fichier.json}}`
- Affiche tous les langages pris en charge :

View File

@ -5,20 +5,12 @@
- Affiche le contenu d'un fichier sur la sortie standard :
`cat {{fichier}}`
`cat {{chemin/vers/fichier}}`
- Concatène le contenu de plusieurs fichiers vers le fichier de destination :
`cat {{fichier1}} {{fichier2}} > {{fichier_de_destination}}`
`cat {{chemin/vers/fichier1 chemin/vers/fichier2 ...}} > {{chemin/vers/fichier_de_destination}}`
- Ajoute le contenu d'un ficher à la fin du fichier de destination :
`cat {{fichier1}} {{fichier2}} >> {{fichier_de_destination}}`
- Numérote toutes les lignes affichées :
`cat -n {{fichier}}`
- Affiche les caractères non-imprimables ainsi que les caractères d'espacement (en utilisant le préfixe `M-` si non-ASCII) :
`cat -v -t -e {{fichier}}`
`cat {{chemin/vers/fichier1 chemin/vers/fichier2 ...}} >> {{chemin/vers/fichier_de_destination}}`

View File

@ -28,9 +28,9 @@
`curl --data {{'{"nom":"bob"}'}} --header {{'Content-Type: application/json'}} {{http://exemple.fr/utilisateurs/1234}}`
- Fournir un nom d'utilisateur et un mot de passe pour une authentification auprès du serveur :
- Fournir un nom d'utilisateur et demander pour un mot de passe pour une authentification auprès du serveur :
`curl --user identifiant:motdepasse {{http://exemple.fr}}`
`curl --user {{identifiant}} {{http://exemple.fr}}`
- Fournir le certificat et la clé du client pour une ressource, en évitant la validation du certificat :

View File

@ -9,16 +9,8 @@
- लक्ष्य फ़ाइल में कई फ़ाइलों को संयुक्त करें:
`cat {{फ़ाइल1}} {{फ़ाइल2}} > {{लक्ष्य_फ़ाइल}}`
`cat {{फ़ाइल1 फ़ाइल2 ...}} > {{लक्ष्य_फ़ाइल}}`
- लक्ष्य फ़ाइल के अंत में कई फ़ाइलें संलग्न करें:
`cat {{फ़ाइल1}} {{फ़ाइल2}} >> {{लक्ष्य_फ़ाइल}}`
- सभी आउटपुट लाइनों की संख्या:
`cat -n {{फ़ाइल}}`
- गैर-मुद्रण योग्य और सफेदस्थान पात्र प्रदर्शित करें (M-उपसर्ग के साथ यदि गैर-ASCII):
`cat -v -t -e {{फ़ाइल}}`
`cat {{फ़ाइल1 फ़ाइल2 ...}} >> {{लक्ष्य_फ़ाइल}}`

View File

@ -3,6 +3,6 @@
> देखें कि एक कमांड में कितना समय लगता है।
> अधिक जानकारी: <https://manned.org/time>
- समय "ls":
- समय `command`:
`time ls`
`time {{command}}`

View File

@ -9,15 +9,15 @@
- एक आदेश निष्पादित करें:
`cmd /c "{{आज्ञा}}"`
`cmd /c {{आज्ञा}}`
- एक स्क्रिप्ट निष्पादित करें:
`cmd {{फ़ाइल.bat/का/पथ}}`
`cmd {{फ़ाइल.bat\का\पथ}}`
- एक कमांड निष्पादित करें और फिर एक इंटरेक्टिव शेल दर्ज करें:
`cmd /k "{{आज्ञा}}"`
`cmd /k {{आज्ञा}}`
- एक इंटरैक्टिव शेल सत्र प्रारंभ करें जहां कमांड आउटपुट में `echo` अक्षम है:

View File

@ -18,11 +18,11 @@
- Memberi nomor pada setiap baris keluaran:
`bat -n {{berkas}}`
`bat --number {{berkas}}`
- Mencetak konten JSON dengan sintaks berwarna:
`bat --language json berkas.json`
`bat --language json {{jalan/menuju/berkas.json}}`
- Menampilkan semua bahasa yang didukung:

View File

@ -9,16 +9,8 @@
- Menggabungkan konten beberapa berkas ke berkas tujuan:
`cat {{berkas1}} {{berkasw}} > {{berkas_tujuan}}`
`cat {{berkas1 berkas2 ...}} > {{berkas_tujuan}}`
- Menambahkan konten beberapa berkas ke berkas tujuan:
`cat {{berkas1}} {{berkas2}} >> {{berkas_tujuan}}`
- Memberi nomor pada semua baris keluaran:
`cat -n {{berkas}}`
- Menampilkan karakter yang tidak dapat dicetak dan spasi (dengan awalan `M-`jika non-ASCII):
`cat -v -t -e {{berkas}}`
`cat {{berkas1 berkas2 ...}} >> {{berkas_tujuan}}`

View File

@ -14,7 +14,7 @@
- Unduh file, mengikuti pengalihan lokasi, dan secara otomatis melanjutkan transfer file sebelumnya:
`curl --remote-name --location --continue-at - {{http://contoh.com/filename}}`
`curl --fail --remote-name --location --continue-at - {{http://contoh.com/filename}}`
- Mengirim data form yang telah di encode (permintaan POST atau tipe data `application/x-www-form-urlencoded`). Gunakan `--data @file_name` atau `--data @'-'` untuk membaca dari STDIN:
@ -30,7 +30,7 @@
- Memberikan nama pengguna dan kata sandi untuk otentikasi server:
`curl --user myusername:mypassword {{http://contoh.com}}`
`curl --user {{nama_pengguna}} {{http://contoh.com}}`
- Memberikan sertifikat klien dan kunci untuk sumber daya, melewati validasi sertifikat:

View File

@ -5,20 +5,16 @@
- Menghapus berkas dari lokasi manapun:
`rm {{alamat/ke/berkas}} {{alamat/ke/berkas/lainnya}}`
`rm {{alamat/ke/berkas1 alamat/ke/berkas2 ...}}`
- Menghapus direktori dan semua subdirektorinya secara rekursif:
`rm -r {{alamat/ke/direktori}}`
- Menghapus direktori secara paksa, tanpa meminta konfirmasi atau menampilkan pesan kesalahan:
`rm -rf {{alamat/ke/direktori}}`
- Menghapus banyak berkas secara interaktif, dengan meminta konfirmasi sebelum setiap penghapusan:
- Menghapus banyak berkas secara [i]nteraktif, dengan meminta konfirmasi sebelum setiap penghapusan:
`rm -i {{(beberapa)_berkas}}`
- Menghapus berkas dengan mode verbose, mencetak pesan untuk setiap berkas yang terhapus:
`rm -v {{alamat/ke/directori/*}}`
- Menghapus direktori dan semua subdirektorinya secara [r]ekursif:
`rm -r {{alamat/ke/direktori}}`

View File

@ -18,7 +18,7 @@
- Numera tutte le linee stampate:
`bat -n {{file}}`
`bat --number {{file}}`
- Evidenzia la sintassi di un file JSON:

View File

@ -14,7 +14,7 @@
- Scarica un file, seguendo reindirizzamenti, e continuando automaticamente (riprendendo) un trasferimento precedente:
`curl --remote-name --location --continue-at - {{http://example.com/nome_file}}`
`curl --fail --remote-name --location --continue-at - {{http://example.com/nome_file}}`
- Invia dati form-encoded (richiesta POST di tipo `application/x-www-form-urlencoded`):
@ -30,8 +30,8 @@
- Utilizza un nome utente ed una password per l'autenticazione con il server:
`curl --user utente:password {{http://example.com}}`
`curl --user {{utente}} {{http://example.com}}`
- Utilizza un certificato ed una chiave per una risorsa, ignorando la validazione dei certificati:
- Utilizza un certificato ed richiedere per una chiave per una risorsa, ignorando la validazione dei certificati:
`curl --cert {{client.pem}} --key {{chiave.pem}} --insecure {{https://example.com}}`

View File

@ -5,32 +5,28 @@
- Estrai l'audio da un video e salvalo come MP3:
`ffmpeg -i {{video.mp4}} -vn {{audio}}.mp3`
- Converti i fotogrammi di un video o una GIF in una serie di immagini numerate:
`ffmpeg -i {{video.mpg|video.gif}} {{foto_%d.png}}`
`ffmpeg -i {{percorso/del/video.mp4}} -vn {{percorso/del/audio}}.mp3`
- 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}}`
`ffmpeg -i {{percorso/del/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}`
- Estrai un singolo fotogramma da un video al timestamp mm:ss e salvalo come immagine di dimensioni 128x128:
`ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -frames 1 -s {{128x128}} -f image2 {{image.png}}`
`ffmpeg -ss {{mm:ss}} -i {{percorso/del/video.mp4}} -frames 1 -s {{128x128}} -f image2 {{percorso/del/image.png}}`
- Taglia un video da un momento iniziale mm:ss a un momento finale mm:ss (rimuovi la flag -to per tagliare fino alla fine):
`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{video.mp4}} -codec copy {{output.mp4}}`
`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{percorso/del/video.mp4}} -codec copy {{percorso/del/output.mp4}}`
- Converti un video AVI a MP4. Audio AAC a 128kbit, video h264 a CRF 23:
`ffmpeg -i {{input_video}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{output_video}}.mp4`
`ffmpeg -i {{percorso/del/input_video}}.avi -codec:a aac -b:a 128k -codec:v libx264 -crf 23 {{percorso/del/output_video}}.mp4`
- Effettua un remux di un video MKV a MP4 senza re-encodare gli stream audio o video:
`ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4`
`ffmpeg -i {percorso/del/{input_video}}.mkv -codec copy {{percorso/del/output_video}}.mp4`
- Converti un video MP4 a codec VP9. Per ottenere la migliore qualità possibile, usa un valore di CRF (consigliabile tra 15-35) e -b:video DEVE essere 0:
- Converti un video MP4 a codec VP9. Per ottenere la migliore qualità possibile, usa un valore di CRF (consigliabile tra 15-35) e -b:v DEVE essere 0:
`ffmpeg -i {{input_video}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{number_of_threads}} {{output_video}}.webm`
`ffmpeg -i {{percorso/del/input_video}}.mp4 -codec:v libvpx-vp9 -crf {{30}} -b:v 0 -codec:a libopus -vbr on -threads {{number_of_threads}} {{percorso/del/output_video}}.webm`

View File

@ -10,7 +10,7 @@
- 複数のファイルの内容を連結して、目的のファイルに書き込む:
`bat {{ファイル1}} {{ファイル2}} > {{ターゲットファイル}}}`
`bat {{ファイル1}} {{ファイル2}} > {{ターゲットファイル}}`
- 複数のファイルの内容を連結して、目的のファイルに追記する:
@ -18,7 +18,7 @@
- すべての出力行に番号をつける:
`bat -n {{ファイル}}`
`bat --number {{ファイル}}`
- JSON ファイルをハイライトする構文:

View File

@ -30,7 +30,7 @@
- サーバー認証のためユーザー名とパスワードを送る:
`curl --user myusername:mypassword {{http://example.com}}`
`curl --user {{ユーザー名}} {{http://example.com}}`
- リソースのクライアント証明書とキーを送り、証明書の検証をスキップする:

View File

@ -17,7 +17,7 @@
- 모든 출력 라인 번호 매기기:
`bat -n {{file}}`
`bat --number {{file}}`
- json파일 구문 강조:

View File

@ -9,16 +9,8 @@
- 여러 파일을 대상 파일에 연결:
`cat {{파일명1}} {{파일명2}} > {{대상_파일명}}`
`cat {{파일명1 파일명2 ...}} > {{대상_파일명}}`
- 대상 파일에 여러 파일 내용 추가:
`cat {{파일명1}} {{파일명2}} >> {{대상_파일명}}`
- 모든 출력 라인에 번호 매기기:
`cat -n {{파일명}}`
- 출력할 수 없는 문자 및 공백 문자 표시 (ASCII가 아닌 경우 `M-`접두사 포함):
`cat -v -t -e {{파일명}}`
`cat {{파일명1 파일명2 ...}} >> {{대상_파일명}}`

View File

@ -14,7 +14,7 @@
- [L]위치 리다이렉션 후 파일을 다운로드 하고, 자동으로 이전 파일 [C]전송(재시작):
`curl --remote-name --location --continue-at - {{http://example.com/filename}}`
`curl --fail --remote-name --location --continue-at - {{http://example.com/filename}}`
- 양식 인코딩 데이터 전송(`application/x-www-form-urlencoded`유형의 POST 요청):
@ -30,7 +30,7 @@
- 서버 인증을 위한 사용자 이름 및 비밀번호 전달:
`curl --user myusername:mypassword {{http://example.com}}`
`curl --user {{사용자 명}} {{http://example.com}}`
- 리소스에 대한 클라이언트 인증서 및 키 전달, 인증서 유효성 검사 스킵:

View File

@ -5,15 +5,7 @@
- 임의의 경로에서 파일을 제거:
`rm {{파일의/경로}} {{다른/파일의/경로}}`
- 재귀적으로 폴더와 그 폴더내의 하위폴더들을 모두 제거:
`rm -r {{폴더의/경로}}`
- 강제로 폴더를 제거, 확인절차와 에러메시지를 띄우지 않음:
`rm -rf {{폴더의/경로}}`
`rm {{파일의/경로 다른/파일의/경로 ...}}`
- 여라개의 파일을 하나씩 확인받으면서 제거:
@ -22,3 +14,7 @@
- 상세화면과 함께 파일을 제거, 삭제된 파일에 대해 메시지를 출력함:
`rm -v {{폴더의/경로/*}}`
- 재귀적으로 폴더와 그 폴더내의 하위폴더들을 모두 제거:
`rm -r {{폴더의/경로}}`

View File

@ -10,7 +10,7 @@
- एउटा सामान्य उपनाम बनाउनुहोस्:
`alias {{शब्द}}="{{आदेश}}"`
`alias {{शब्द}}="{{आदेश}}"`
- एउटा आदेशसङ्ग सम्बन्धित उपनाम हेर्नुहोस्:

View File

@ -9,16 +9,8 @@
- धेरै फाइलहरू जोडेर एउटा सिंगो आउटपुट फाइल बनाउनुहोस्:
`cat {{फाइल_पहिलो/को/पथ}} {{फाइल_दोस्रो/को/पथ}} > {{आउटपुट/फाइल/को/पथ}}`
`cat {{फाइल_पहिलो/को/पथ फाइल_दोस्रो/को/पथ ...}} > {{आउटपुट/फाइल/को/पथ}}`
- धेरै फाइलहरू जोडेर एउटा सिंगो आउटपुट फाइलमा संलग्न गर्नुहोस्:
`cat {{फाइल_पहिलो/को/पथ}} {{फाइल_दोस्रो/को/पथ}} >> {{आउटपुट/फाइल/को/पथ}}`
- सबै आउटपुट लाइनहरूलाइ संख्यामा देखाउनुहोस:
`cat -n {{फाइल/को/पथ}}`
- छाप्न नमिल्ने र सेतो खाली ठाँउका वर्णहरू देखाउनुहोस् (यदि ASCII हैनन् भने `M-` उपसर्ग लागेर देखिन्छ):
`cat -v -t -e {{फाइल/को/पथ}}`
`cat {{फाइल_पहिलो/को/पथ फाइल_दोस्रो/को/पथ ...}} >> {{आउटपुट/फाइल/को/पथ}}`

View File

@ -25,12 +25,12 @@
- AVI भिडियोलाई MP4 मा रूपान्तरण गर्नुहोस्। अडियोको 128kbit बिटरेट राखेर AAC मा, भिडियोको CRF 23 राखेर h264 मा:
`ffmpeg -i {{इनपुट_भिडियो}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{आउटपुट_भिडियो}}.mp4`
`ffmpeg -i {{इनपुट_भिडियो}}.avi -codec:a aac -b:a 128k -codec:v libx264 -crf 23 {{आउटपुट_भिडियो}}.mp4`
- MKV भिडियोको अडियो वा भिडियो स्ट्रिमहरू पुन: एन्कोडिङ नगरी हानिरहित ढाँचामा MP4 मा बदल्नुहोस:
`ffmpeg -i {{इनपुट_भिडियो}}.mkv -codec copy {{आउटपुट_भिडियो}}.mp4`
- MP4 भिडियोलाई VP9 कोडेकमा रूपान्तरण गर्नुहोस्। उत्कृष्ट गुणस्तरको लागि, CRF फ्ल्यागको प्रयोग गर्नुहोस् (सिफारिस गरिएको दायरा 15-35) र `-b:video 0` पनि प्रयोग गर्नुहोस्:
- MP4 भिडियोलाई VP9 कोडेकमा रूपान्तरण गर्नुहोस्। उत्कृष्ट गुणस्तरको लागि, CRF फ्ल्यागको प्रयोग गर्नुहोस् (सिफारिस गरिएको दायरा 15-35) र `-b:v 0` पनि प्रयोग गर्नुहोस्:
`ffmpeg -i {{इनपुट_भिडियो}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{थ्रेड_संख्या}} {{आउटपुट_भिडियो}}.webm`
`ffmpeg -i {{इनपुट_भिडियो}}.mp4 -codec:v libvpx-vp9 -crf {{30}} -b:v 0 -codec:a libopus -vbr on -threads {{थ्रेड_संख्या}} {{आउटपुट_भिडियो}}.webm`

View File

@ -3,6 +3,6 @@
> See hvor lang en kommand tar.
> Mer informasjon: <https://manned.org/time>.
- Tid "ls":
- Tid `command`:
`time ls`
`time {{command}}`

View File

@ -5,15 +5,7 @@
- Usuń pliki z dowolnej lokalizacji:
`rm {{ścieżka/do/pliku}} {{ścieżka/do/innego/pliku}}`
- Rekursywnie usuń folder oraz wszystkie jego podfoldery:
`rm -r {{ścieżka/do/folderu}}`
- Wymuś usunięcie folderu, bez pytania o potwierdzenie lub pokazywania błędów:
`rm -rf {{ścieżka/do/folderu}}`
`rm {{ścieżka/do/pliku1 ścieżka/do/pliku2 ...}}`
- Interaktywnie usuń kilka plików z pytaniem o potwierdzenie przed każdym usunięciem:
@ -22,3 +14,7 @@
- Usuń pliki w trybie opisowym, pokazując wiadomość o każdym usuniętym pliku:
`rm -v {{ścieżka/do/folderu/*}}`
- Rekursywnie usuń folder oraz wszystkie jego podfoldery:
`rm -r {{ścieżka/do/folderu}}`

View File

@ -18,7 +18,7 @@
- Numera todas as linhas de saída:
`bat -n {{arquivo}}`
`bat --number {{arquivo}}`
- Realça a sintaxe de um arquivo JSON:

View File

@ -14,7 +14,7 @@
- Descarrega um arquivo, seguindo redirecionamentos e automaticamente continuando transferências idênticas que tenham sido interrompidas:
`curl --remote-name --location --continue-at - {{http://example.com/arquivo}}`
`curl --fail --remote-name --location --continue-at - {{http://example.com/arquivo}}`
- Envia dados codificados por formulário (pedido POST do tipo `application/x-www-form-urlencoded`):
@ -30,7 +30,7 @@
- Passa ao pedido o nome de usuário e senha para autenticação no servidor:
`curl -u usuario:senha {{http://example.com}}`
`curl --user {{usuario}} {{http://example.com}}`
- Passa ao pedido o certificado do cliente e a chave para um recurso, omitindo a validação do certificado:

View File

@ -5,7 +5,7 @@
- Extrai o som de um vídeo e salva-o como MP3:
`ffmpeg -i {{vídeo}} -vn {{som}}.mp3`
`ffmpeg -i {{caminho/para/vídeo.mp4}} -vn {{caminho/para/som}}.mp3`
- Converte quadros de um vídeo ou GIF para imagens numeradas individuais:
@ -13,24 +13,24 @@
- Combina imagens numeradas (`quadro_1.jpg`, `quadro_2.jpg`, etc) em um vídeo ou GIF:
`ffmpeg -i {{quadro_%d.jpg}} -f image2 {{vídeo|gif}}`
`ffmpeg -i {{caminho/para/quadro_%d.jpg}} -f image2 {{vídeo|gif}}`
- Extrai um único quadro de um vídeo no tempo mm:ss e o salva como uma imagem de resolução 128x128:
`ffmpeg -ss {{mm:ss}} -i {{vídeo}} -frames 1 -s {{128x128}} -f image2 {{quadro.png}}`
`ffmpeg -ss {{mm:ss}} -i {{caminho/para/vídeo.mp4}} -frames 1 -s {{128x128}} -f image2 {{caminho/para/quadro.png}}`
- Corta um vídeo de um dado tempo inicial mm:ss até um tempo final mm2:ss2 (omita a opção -to para cortar o vídeo até o final):
`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{vídeo_entrada}} -codec copy {{vídeo_saída}}`
`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{caminho/para/vídeo_entrada.mp4}} -codec copy {{caminho/para/vídeo_saída.mp4}}`
- Converte um vídeo AVI para MP4. AAC Áudio @ 128kbit, h264 Vídeo @ CRF 23:
`ffmpeg -i {{vídeo_entrada}}.avi -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 {{vídeo_saída}}.mp4`
`ffmpeg -i {{caminho/para/vídeo_entrada}}.avi -codec:a aac -b:a 128k -codec:v libx264 -crf 23 {{caminho/para/vídeo_saída}}.mp4`
- Remixa um vídeo MKV para MP4 sem recodificar áudio ou vídeo:
`ffmpeg -i {{vídeo_entrada}}.mkv -codec copy {{vídeo_saída}}.mp4`
`ffmpeg -i {{caminho/para/vídeo_entrada}}.mkv -codec copy {{caminho/para/vídeo_saída}}.mp4`
- Converte um vídeo MP4 para o codec VP9. Para a melhor qualidade, use um valor CRF (faixa recomendada 15-35) e -b:video DEVE ser 0:
- Converte um vídeo MP4 para o codec VP9. Para a melhor qualidade, use um valor CRF (faixa recomendada 15-35) e -b:v DEVE ser 0:
`ffmpeg -i {{vídeo_entrada}}.mp4 -codec:video libvpx-vp9 -crf {{30}} -b:video 0 -codec:audio libopus -vbr on -threads {{número_de_threads}} {{vídeo_saída}}.webm`
`ffmpeg -i {{caminho/para/vídeo_entrada}}.mp4 -codec:v libvpx-vp9 -crf {{30}} -b:v 0 -codec:a libopus -vbr on -threads {{número_de_threads}} {{caminho/para/vídeo_saída}}.webm`

View File

@ -9,16 +9,8 @@
- Объединяет несколька файлов в один:
`cat {{файл1}} {{файл2}} > {{итоговый_файл}}`
`cat {{файл1 файл2 ...}} > {{итоговый_файл}}`
- Добавляет несколько файлов в конец файла:
`cat {{файл1}} {{файл2}} >> {{итоговый_файл}}`
- Выводит содержимое файла с нумерацией строк:
`cat -n {{файл}}`
- Показывает все непечатные символы и пробелы (с префиксом `M-` для не-ASCII символов):
`cat -v -t -e {{файл}}`
`cat {{файл1 файл2 ...}} >> {{итоговый_файл}}`

View File

@ -5,15 +5,7 @@
- Удалить файлы из определённых мест:
`rm {{путь/до/файла}} {{путь/до/другогоайла}}`
- Рекурсивно удалить каталог и все его подкаталоги:
`rm -r {{путь/до/директории}}`
- Принудительно удалить каталог без запроса подтверждения или отображения сообщений об ошибках:
`rm -r -f {{путь/до/директории}}`
`rm {{путь/до/файла1 путь/до/файла2 ...}}`
- Интерактивное удаление нескольких файлов с запросом перед каждым удалением:
@ -22,3 +14,7 @@
- Удаление файлов с подробным выводом, печать сообщения для каждого удаленного файла:
`rm -v {{путь/до/директории/*}}`
- Рекурсивно удалить каталог и все его подкаталоги:
`rm -r {{путь/до/директории}}`

View File

@ -5,15 +5,7 @@
- Ta bort filer från godtyckliga ställen:
`rm {{sökväg/till/fil}} {{sökväg/till/en/annan/fil}}`
- Rekursivt ta bort en mapp och dess undermappar:
`rm -r {{sökväg/till/mapp}}`
- Tvinga borttagning av en mapp utan att bekräfta eller visa felmeddelanden:
`rm -rf {{sökväg/till/mapp}}`
`rm {{sökväg/till/fil1 sökväg/till/en/annan/fil2 ...}}`
- Interaktivt ta bort flera filer, genom att fråga om borttagning för varje fil:
@ -22,3 +14,7 @@
- Ta bort filer och visa ett meddelande för varje borttagning:
`rm -v {{sökväg/till/mapp/*}}`
- Rekursivt ta bort en mapp och dess undermappar:
`rm -r {{sökväg/till/mapp}}`

View File

@ -3,6 +3,6 @@
> Se hur lång tid ett kommando tar.
> Mer information: <https://manned.org/time>.
- Tidtagning "ls":
- Tidtagning `command`:
`time ls`
`time {{command}}`

View File

@ -18,7 +18,7 @@
- Tüm çıktı satırlarını numaralandır:
`bat -n {{dosya}}`
`bat --number {{dosya}}`
- Bir JSON dosyasının sözdizimini vurgula:

View File

@ -9,16 +9,8 @@
- Birkaç dosyayı bir çıktı dosyasında birleştir:
`cat {{dosya/yolu1}} {{dosya/yolu2}} > {{çıktı/dosyası/yolu}}`
`cat {{dosya/yolu1 dosya/yolu2 ...}} > {{çıktı/dosyası/yolu}}`
- Birkaç dosyayı bir çıktı dosyasına ekle:
`cat {{dosya/yolu1}} {{dosya/yolu2}} >> {{çıktı/dosyası/yolu}}`
- Tüm çıkış satırlarını numaralandır:
`cat -n {{dosya/yolu}}`
- Yazdırılamayan ve boşluk karakterleri görüntüle (ASCII değilse `M-` önekiyle):
`cat -v -t -e {{dosya/yolu}}`
`cat {{dosya/yolu1 dosya/yolu2 ...}} >> {{çıktı/dosyası/yolu}}`

View File

@ -18,7 +18,7 @@
- 打印时,显示行号:
`bat -n {{文件}}`
`bat --number {{文件}}`
- 高亮一个 `json` 文件:

View File

@ -5,20 +5,12 @@
- 以标准输出,打印文件内容:
`cat {{file}}`
`cat {{path/to/file}}`
- 多文件合并到目标文件:
`cat {{file1}} {{file2}} > {{target_file}}`
`cat {{path/to/file1 path/to/file2 ...}} > {{target_file}}`
- 多文件合并,并追加到目标文件:
`cat {{file1}} {{file2}} >> {{target_file}}`
- 显示行号:
`cat -n {{file}}`
- 显示不可打印和空白的字符(使用 `M-` 前缀标记非 ASCII 字符):
`cat -v -t -e {{file}}`
`cat {{path/to/file1 path/to/file2 ...}} >> {{target_file}}`

View File

@ -14,7 +14,7 @@
- 下载文件,跟随 重定向,并且自动 续传(恢复)前序文件传输:
`curl --remote-name --location --continue-at - {{http://example.com/filename}}`
`curl --fail --remote-name --location --continue-at - {{http://example.com/filename}}`
- 发送表单编码数据(`application/x-www-form-urlencoded` 的 POST 请求):
@ -30,7 +30,7 @@
- 使用用户名和密码,授权访问服务器:
`curl --user myusername:mypassword {{http://example.com}}`
`curl --user {{用户名}} {{http://example.com}}`
- 为指定资源使用客户端证书和密钥,并且跳过证书验证:

View File

@ -5,15 +5,7 @@
- 从任意位置删除文件:
`rm {{路径/到/文件}} {{路径/到/另一个/文件}}`
- 递归删除一个目录及其所有子目录:
`rm -r {{路径/到/目录}}`
- 强行删除一个目录,不提示确认或显示错误信息:
`rm -rf {{路径/到/目录}}`
`rm {{路径/到/文件 路径/到/另一个/文件 ...}}`
- 交互式地删除多个文件,每次删除前都会有提示:
@ -22,3 +14,7 @@
- 以粗略模式删除文件,为每个被删除的文件打印一条信息:
`rm -v {{路径/到/目录/*}}`
- 递归删除一个目录及其所有子目录:
`rm -r {{路径/到/目录}}`

View File

@ -9,16 +9,8 @@
- 將多個檔案連接起來,輸出至目標檔案:
`cat {{檔案一}} {{檔案二}} > {{目標檔案}}`
`cat {{檔案一 檔案二 ...}} > {{目標檔案}}`
- 將多個檔案連接起來,並將其內容加到目標檔案的結尾:
`cat {{檔案一}} {{檔案二}} >> {{目標檔案}}`
- 印出檔案的內容並顯示行號:
`cat -n {{檔案}}`
- 印出檔案的內容,且將無法顯示的字元用特殊的方式顯示出來:
`cat -v -t -e {{檔案}}`
`cat {{檔案一 檔案二 ...}} >> {{目標檔案}}`

View File

@ -14,7 +14,7 @@
- 下載檔案,跟隨重新導向,並且自動續傳(恢復)前序檔案傳輸:
`curl --remote-name --location --continue-at - {{http://example.com/filename}}`
`curl --fail --remote-name --location --continue-at - {{http://example.com/filename}}`
- 發送表單編碼數據(`application/x-www-form-urlencoded` 的 POST 請求):
@ -30,7 +30,7 @@
- 透過使用者名稱和密碼訪問伺服器:
`curl --user myusername:mypassword {{http://example.com}}`
`curl --user {{使用者名稱}} {{http://example.com}}`
- 爲指定資源使用客戶端憑證和密鑰,並且跳過憑證驗證:

View File

@ -5,15 +5,7 @@
- 移除位於指定路徑的檔案:
`rm {{檔案一/完整/路徑}} {{檔案二/完整/路徑}}`
- 遞迴移除目錄與其所有子目錄:
`rm -r {{目錄/完整/路徑}}`
- 強制移除目錄,且不會跳出任何確認資訊與錯誤訊息:
`rm -rf {{目錄/完整/路徑}}`
`rm {{檔案一/完整/路徑 檔案二/完整/路徑 ...}}`
- 移除檔案,且每次移除都會進行確認:
@ -22,3 +14,7 @@
- 移除目錄中的所有檔案,並顯示每個檔案的移除資訊:
`rm -v {{目錄/完整/路徑/*}}`
- 遞迴移除目錄與其所有子目錄:
`rm -r {{目錄/完整/路徑}}`

View File

@ -22,7 +22,7 @@
- Syntax highlight a JSON file:
`bat --language json {{file.json}}`
`bat --language json {{path/to/file.json}}`
- Display all supported languages:

View File

@ -28,9 +28,9 @@
`curl --data {{'{"name":"bob"}'}} --header {{'Content-Type: application/json'}} {{http://example.com/users/1234}}`
- Pass a username and password for server authentication:
- Pass a username and prompt for a password to authenticate to the server:
`curl --user myusername:mypassword {{http://example.com}}`
`curl --user {{username}} {{http://example.com}}`
- Pass client certificate and key for a resource, skipping certificate validation:

View File

@ -5,32 +5,32 @@
- Extract the sound from a video and save it as MP3:
`ffmpeg -i {{video.mp4}} -vn {{sound}}.mp3`
`ffmpeg -i {{path/to/video.mp4}} -vn {{path/to/sound}}.mp3`
- Save a video as GIF, scaling the height to 1000px and setting framerate to 15:
`ffmpeg -i {{video.mp4}} -vf 'scale=-1:{{1000}}' -r {{15}} {{output.gif}}`
`ffmpeg -i {{path/to/video.mp4}} -vf 'scale=-1:{{1000}}' -r {{15}} {{path/to/output.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}}`
`ffmpeg -i {{path/to/frame_%d.jpg}} -f image2 {{video.mpg|video.gif}}`
- Quickly extract a single frame from a video at time mm:ss and save it as a 128x128 resolution image:
`ffmpeg -ss {{mm:ss}} -i {{video.mp4}} -frames 1 -s {{128x128}} -f image2 {{image.png}}`
`ffmpeg -ss {{mm:ss}} -i {{path/to/video.mp4}} -frames 1 -s {{128x128}} -f image2 {{path/to/image.png}}`
- Trim a video from a given start time mm:ss to an end time mm2:ss2 (omit the -to flag to trim till the end):
`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{video.mp4}} -codec copy {{output.mp4}}`
`ffmpeg -ss {{mm:ss}} -to {{mm2:ss2}} -i {{path/to/video.mp4}} -codec copy {{path/to/output.mp4}}`
- Convert AVI video to MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23:
`ffmpeg -i {{input_video}}.avi -codec:a aac -b:a 128k -codec:v libx264 -crf 23 {{output_video}}.mp4`
`ffmpeg -i {{path/to/input_video}}.avi -codec:a aac -b:a 128k -codec:v libx264 -crf 23 {{path/to/output_video}}.mp4`
- Remux MKV video to MP4 without re-encoding audio or video streams:
`ffmpeg -i {{input_video}}.mkv -codec copy {{output_video}}.mp4`
`ffmpeg -i {{path/to/input_video}}.mkv -codec copy {{path/to/output_video}}.mp4`
- Convert MP4 video to VP9 codec. For the best quality, use a CRF value (recommended range 15-35) and -b:v MUST be 0:
`ffmpeg -i {{input_video}}.mp4 -codec:v libvpx-vp9 -crf {{30}} -b:v 0 -codec:a libopus -vbr on -threads {{number_of_threads}} {{output_video}}.webm`
`ffmpeg -i {{path/to/input_video}}.mp4 -codec:v libvpx-vp9 -crf {{30}} -b:v 0 -codec:a libopus -vbr on -threads {{number_of_threads}} {{path/to/output_video}}.webm`

View File

@ -12,7 +12,7 @@
`rm -f {{path/to/file1 path/to/file2 ...}}`
- Remove specific files [i]nteractively prompting before each removal:
- Remove specific files interactively prompting before each removal:
`rm -i {{path/to/file1 path/to/file2 ...}}`
@ -20,6 +20,6 @@
`rm -v {{path/to/file1 path/to/file2 ...}}`
- Remove specific files and directories [r]ecursively:
- Remove specific files and directories recursively:
`rm -r {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`