mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-29 04:21:03 +08:00
nologin,ifup,wacaw,xsel: add short/long options for translations (#22233)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
- Setze die Login-Shell eines Benutzers auf `nologin`, um zu verhindern, dass der Benutzer sich anmeldet:
|
||||
|
||||
`chsh -s {{user}} nologin`
|
||||
`chsh {{[-s|--shell]}} {{user}} nologin`
|
||||
|
||||
- Passe die Nachricht für Benutzer mit Login-Shell `nologin` an:
|
||||
|
||||
|
||||
@@ -5,24 +5,24 @@
|
||||
|
||||
- Utiliza la salida de un comando como entrada del portapapeles (clip[b]oard) (equivalente a `<Ctrl c>`):
|
||||
|
||||
`echo 123 | xsel -ib`
|
||||
`echo 123 | xsel {{[-ib|--input --clipboard]}}`
|
||||
|
||||
- Utiliza el contenido de un archivo como entrada del portapapeles:
|
||||
|
||||
`cat {{ruta/al/archivo}} | xsel -ib`
|
||||
`cat {{ruta/al/archivo}} | xsel {{[-ib|--input --clipboard]}}`
|
||||
|
||||
- Envía el contenido del portapapeles a la terminal (equivalente a `<Ctrl v>`):
|
||||
|
||||
`xsel -ob`
|
||||
`xsel {{[-ob|--output --clipboard]}}`
|
||||
|
||||
- Envía el contenido del portapapeles a un archivo:
|
||||
|
||||
`xsel -ob > {{ruta/al/archivo}}`
|
||||
`xsel {{[-ob|--output --clipboard]}} > {{ruta/al/archivo}}`
|
||||
|
||||
- Limpia el portapapeles:
|
||||
|
||||
`xsel -cb`
|
||||
`xsel {{[-cb|--clear --clipboard]}}`
|
||||
|
||||
- Envía el contenido de la selección primaria X11 a la terminal (equivalente a `<MiddleClick>`):
|
||||
|
||||
`xsel -op`
|
||||
`xsel {{[-op|--output --primary]}}`
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
- Graba un video:
|
||||
|
||||
`wacaw --video {{filename}} --duration {{duration_in_seconds}}`
|
||||
`wacaw --video {{filename}} {{[-D|--duration]}} {{duration_in_seconds}}`
|
||||
|
||||
- Toma una foto con resolución personalizada:
|
||||
|
||||
`wacaw --width {{width}} --height {{height}} {{filename}}`
|
||||
`wacaw {{[-x|--width]}} {{width}} {{[-y|--height]}} {{height}} {{filename}}`
|
||||
|
||||
- Copia imagen recién tomada al portapapeles:
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
- Lista de los dispositivos disponibles:
|
||||
|
||||
`wacaw --list-devices`
|
||||
`wacaw {{[-L|--list-devices]}}`
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
|
||||
- Active l'ensemble des interfaces réseau définies dans le fichier `/etc/network/interfaces` :
|
||||
|
||||
`ifup -a`
|
||||
`ifup {{[-a|--all]}}`
|
||||
|
||||
@@ -5,24 +5,24 @@
|
||||
|
||||
- Utilise la sortie d'une commande comme entrée du presse-papiers (équivalent de `<Ctrl c>`) :
|
||||
|
||||
`echo 123 | xsel -ib`
|
||||
`echo 123 | xsel {{[-ib|--input --clipboard]}}`
|
||||
|
||||
- Utilise le contenu d'un fichier comme entrée du presse-papiers :
|
||||
|
||||
`cat {{fichier}} | xsel -ib`
|
||||
`cat {{fichier}} | xsel {{[-ib|--input --clipboard]}}`
|
||||
|
||||
- Affiche le contenu du presse-papiers dans le terminal (équivalent à `<Ctrl v>`) :
|
||||
|
||||
`xsel -ob`
|
||||
`xsel {{[-ob|--output --clipboard]}}`
|
||||
|
||||
- Sortie du contenu du presse-papiers dans un fichier :
|
||||
|
||||
`xsel -ob > {{fichier}}`
|
||||
`xsel {{[-ob|--output --clipboard]}} > {{fichier}}`
|
||||
|
||||
- Efface le presse-papiers :
|
||||
|
||||
`xsel -cb`
|
||||
`xsel {{[-cb|--clear --clipboard]}}`
|
||||
|
||||
- Affiche le contenu de la sélection primaire X11 dans le terminal (équivalent à `<MiddleClick>`) :
|
||||
|
||||
`xsel -op`
|
||||
`xsel {{[-op|--output --primary]}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- उपयोक्ता को लॉग इन करने से रोकने के लिए उपयोक्ता की लॉगिन शैल को 'नोलॉगिन' पर सेट करें:
|
||||
|
||||
`chsh -s {{उपयोगकर्ता}} nologin`
|
||||
`chsh {{[-s|--shell]}} {{उपयोगकर्ता}} nologin`
|
||||
|
||||
- नोलॉगिन लॉगिन शैल वाले उपयोक्ताओं के लिए संविभिन्न संदेश का अनुकूलन करें:
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
|
||||
- `/etc/network/interfaces`에서 "auto"로 정의된 모든 인터페이스 활성화:
|
||||
|
||||
`ifup -a`
|
||||
`ifup {{[-a|--all]}}`
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
- 사용자의 로그인 셸을 `nologin`으로 설정하여 로그인을 방지:
|
||||
|
||||
`chsh -s {{사용자}} nologin`
|
||||
`chsh {{[-s|--shell]}} {{사용자}} nologin`
|
||||
|
||||
- `nologin` 로그인 셸을 가진 사용자에게 표시할 메시지 사용자 지정:
|
||||
|
||||
|
||||
@@ -5,24 +5,24 @@
|
||||
|
||||
- 명령의 출력을 클립보드 입력으로 사용 (`<Ctrl c>`와 동일):
|
||||
|
||||
`echo 123 | xsel -ib`
|
||||
`echo 123 | xsel {{[-ib|--input --clipboard]}}`
|
||||
|
||||
- 파일의 내용을 클립보드 입력으로 사용:
|
||||
|
||||
`cat {{경로/대상/파일}} | xsel -ib`
|
||||
`cat {{경로/대상/파일}} | xsel {{[-ib|--input --clipboard]}}`
|
||||
|
||||
- 클립보드의 내용을 터미널에 출력 (`<Ctrl v>`와 동일):
|
||||
|
||||
`xsel -ob`
|
||||
`xsel {{[-ob|--output --clipboard]}}`
|
||||
|
||||
- 클립보드의 내용을 파일에 출력:
|
||||
|
||||
`xsel -ob > {{경로/대상/파일}}`
|
||||
`xsel {{[-ob|--output --clipboard]}} > {{경로/대상/파일}}`
|
||||
|
||||
- 클립보드 내용 지우기:
|
||||
|
||||
`xsel -cb`
|
||||
`xsel {{[-cb|--clear --clipboard]}}`
|
||||
|
||||
- X11 기본 선택의 내용을 터미널에 출력 (`<MiddleClick>` 동일):
|
||||
|
||||
`xsel -op`
|
||||
`xsel {{[-op|--output --primary]}}`
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
- 비디오 녹화:
|
||||
|
||||
`wacaw --video {{파일명}} --duration {{10}}`
|
||||
`wacaw --video {{파일명}} {{[-D|--duration]}} {{10}}`
|
||||
|
||||
- 사용자 지정 해상도로 사진 촬영:
|
||||
|
||||
`wacaw --width {{너비}} --height {{100}} {{파일명}}`
|
||||
`wacaw {{[-x|--width]}} {{너비}} {{[-y|--height]}} {{100}} {{파일명}}`
|
||||
|
||||
- 방금 촬영한 이미지를 클립보드로 복사:
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
- 사용 가능한 장치 목록:
|
||||
|
||||
`wacaw --list-devices`
|
||||
`wacaw {{[-L|--list-devices]}}`
|
||||
|
||||
@@ -9,4 +9,4 @@
|
||||
|
||||
- Włączenie wszystkich interfejsów zdefiniowanych jako "auto" w `/etc/network/interfaces`:
|
||||
|
||||
`ifup -a`
|
||||
`ifup {{[-a|--all]}}`
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
- 录制视频:
|
||||
|
||||
`wacaw --video {{文件名}} --duration {{录制多少秒}}`
|
||||
`wacaw --video {{文件名}} {{[-D|--duration]}} {{录制多少秒}}`
|
||||
|
||||
- 用自定义分辨率拍照:
|
||||
|
||||
`wacaw --width {{宽}} --height {{高}} {{文件名}}`
|
||||
`wacaw {{[-x|--width]}} {{宽}} {{[-y|--height]}} {{高}} {{文件名}}`
|
||||
|
||||
- 将刚拍摄的图像复制到剪贴板:
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
- 可用设备列表:
|
||||
|
||||
`wacaw --list-devices`
|
||||
`wacaw {{[-L|--list-devices]}}`
|
||||
|
||||
Reference in New Issue
Block a user