mirror of https://github.com/CrimsonTome/tldr.git
Compare commits
42 Commits
afa0c0ef7c
...
2aebc51eb0
Author | SHA1 | Date |
---|---|---|
Sebastiaan Speck | 2aebc51eb0 | |
spageektti | ab21e116eb | |
spageektti | 4060c2befe | |
spageektti | f200084719 | |
spageektti | 8a1f00de39 | |
spageektti | 744851df57 | |
spageektti | e60c2583f0 | |
spageektti | 9cbe36bebb | |
spageektti | b8dcbc98bc | |
spageektti | 7da1a5e666 | |
spageektti | d3d7c4344c | |
spageektti | 25e01efaa6 | |
spageektti | 498638fdea | |
rexept | 4eaff1640c | |
spageektti | d59deb39d3 | |
spageektti | a5ef497854 | |
Alejandro Cervera | 596d7a57e4 | |
Sebastiaan Speck | 4b7d129ce8 | |
Sebastiaan Speck | f0cc9f4249 | |
Sebastiaan Speck | a6218baf0a | |
Sebastiaan Speck | 2da4c763ce | |
Sebastiaan Speck | 7eb2f0761b | |
Sebastiaan Speck | 7cbfff0d43 | |
Sebastiaan Speck | ae06a7f8a8 | |
Sebastiaan Speck | a56d999d39 | |
Sebastiaan Speck | c1fbad6201 | |
Sebastiaan Speck | cd22969e15 | |
Sebastiaan Speck | 62703cc03d | |
Sebastiaan Speck | 9f6ba62a87 | |
Sebastiaan Speck | a15e56f0aa | |
Sebastiaan Speck | 3d7b3ea6b0 | |
Sebastiaan Speck | f4fbd9952a | |
Sebastiaan Speck | fbe10de49e | |
Sebastiaan Speck | 6c3a6f5e63 | |
Sebastiaan Speck | ad99bdc752 | |
Sebastiaan Speck | 70c7f3d781 | |
Sebastiaan Speck | 68633f8c03 | |
Sebastiaan Speck | e890d5ffc0 | |
Sebastiaan Speck | a37267f9dc | |
Sebastiaan Speck | fdb5ade3d8 | |
Sebastiaan Speck | 1c6e2b682c | |
Sebastiaan Speck | 66bae4c6d3 |
|
@ -1,7 +1,7 @@
|
|||
# ip
|
||||
|
||||
> Zeige und manipuliere routing, Geräte, Policy routing und Tunnel.
|
||||
> Weitere Informationen: <https://www.man7.org/linux/man-pages/man8/ip.8.html>.
|
||||
> Weitere Informationen: <https://www.manned.org/ip.8>.
|
||||
|
||||
- Zeige Interfaces mit detaillierten Informationen:
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
|
||||
`bugreportz -p`
|
||||
|
||||
- Muestra la versión de `bugreportz`:
|
||||
|
||||
`bugreportz -v`
|
||||
|
||||
- Muestra ayuda:
|
||||
|
||||
`bugreportz -h`
|
||||
|
||||
- Muestra la versión de `bugreportz`:
|
||||
|
||||
`bugreportz -v`
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
- Muestra el tamaño físico de la pantalla de un dispositivo Android:
|
||||
|
||||
`wm {{tamaño}}`
|
||||
`wm size`
|
||||
|
||||
- Muestra la densidad física de la pantalla de un dispositivo Android:
|
||||
|
||||
`wm {{densidad}}`
|
||||
`wm density`
|
||||
|
|
|
@ -3,27 +3,27 @@
|
|||
> Un compresor de archivos con un alto ratio de compresión.
|
||||
> Más información: <https://manned.org/7z>.
|
||||
|
||||
- Comprime un archivo o un directorio:
|
||||
- [a]ñade un fichero o directorio a un archivo comprimido nuevo o existente:
|
||||
|
||||
`7z a {{archivo_comprimido.7z}} {{ruta/al/archivo_o_directorio_a_comprimir}}`
|
||||
|
||||
- Encripta un archivo comprimido existente (incluyendo cabeceras):
|
||||
- Encripta un archivo comprimido existente (incluyendo los nombres de los archivos):
|
||||
|
||||
`7z a {{archivo_encriptado.7z}} -p{{contraseña}} -mhe=on {{archivo_comprimido.7z}}`
|
||||
|
||||
- Extrae un archivo comprimido en formato 7z con la estructura original que tenía antes de comprimir:
|
||||
- E[x]trae un archivo comprimido preservando la estructura de directorios original:
|
||||
|
||||
`7z x {{archivo_comprimido.7z}}`
|
||||
|
||||
- Extrae un archivo comprimido en una ruta definida por el usuario:
|
||||
- E[x]trae un archivo comprimido a un directorio específico:
|
||||
|
||||
`7z x {{archivo_comprimido.7z}} -o{{ruta/donde/extraer}}`
|
||||
|
||||
- Extrae un archivo comprimido a `stdout`:
|
||||
- E[x]trae un archivo comprimido a `stdout`:
|
||||
|
||||
`7z x {{archivo_comprimido.7z}} -so`
|
||||
|
||||
- Comprime usando un tipo de archivo comprimido específico:
|
||||
- [a]rchiva usando un tipo de archivo comprimido específico:
|
||||
|
||||
`7z a -t{{7z|bzip2|gzip|lzip|tar|zip}} {{archivo_comprimido}} {{ruta/al/archivo_o_directorio_a_comprimir}}`
|
||||
|
||||
|
@ -31,6 +31,6 @@
|
|||
|
||||
`7z l {{archivo_comprimido.7z}}`
|
||||
|
||||
- Establece el nivel de compresión más alto significa más compresión, pero será más lento:
|
||||
- Establece el nivel de compresión (entre mayor sea este, la compresión será más lenta):
|
||||
|
||||
`7z a {{ruta/al/archivo_comprimido.7z}} -mx={{0|1|3|5|7|9}} {{ruta/al/archivo_o_directorio_a_comprimir}}`
|
||||
|
|
|
@ -7,15 +7,15 @@
|
|||
|
||||
`adb logcat`
|
||||
|
||||
- Muestra las líneas que coinciden con una expresión regular:
|
||||
- Muestra las líneas que coincidan con una expresión regular:
|
||||
|
||||
`adb logcat -e {{expresion_regular}}`
|
||||
`adb logcat -e {{expresión_regular}}`
|
||||
|
||||
- Muestra los registros de una etiqueta en un modo específico ([V]erbose, [D]ebug, [I]nfo, [W]arning, [E]rror, [F]atal, [S]ilent), filtrando otras etiquetas:
|
||||
- Muestra los registros de una etiqueta en un modo específico ([V]erboso, [D]epuración, [I]nformación, [W]arning, [E]rror, [F]atal, [S]ilencioso), filtrando otras etiquetas:
|
||||
|
||||
`adb logcat {{etiqueta}}:{{modo}} *:S`
|
||||
|
||||
- Muestra los registros de aplicaciones React Native en modo [V]erbose [S]ilencing otras etiquetas:
|
||||
- Muestra los registros de aplicaciones React Native en modo [V]erboso [S]ilenciando otras etiquetas:
|
||||
|
||||
`adb logcat ReactNative:V ReactNativeJS:V *:S`
|
||||
|
||||
|
@ -25,12 +25,12 @@
|
|||
|
||||
- Muestra los registros de un proceso específico:
|
||||
|
||||
`adb logcat --pid={{pid}}`
|
||||
`adb logcat --pid {{pid}}`
|
||||
|
||||
- Muestra los registros del proceso de un paquete específico:
|
||||
|
||||
`adb logcat --pid=$(adb shell pidof -s {{paquete}})`
|
||||
`adb logcat --pid $(adb shell pidof -s {{paquete}})`
|
||||
|
||||
- Colorea el registro (normalmente se utiliza con filtros):
|
||||
- Colorea el registro (normalmente se usan filtros):
|
||||
|
||||
`adb logcat -v color`
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
> Un script de shell para mostrar las condiciones meteorológicas actuales en tu terminal.
|
||||
> Más información: <https://github.com/fcambus/ansiweather>.
|
||||
|
||||
- Muestra una previsión en unidades métricas para los próximos cinco días en Rzeszow, Polonia:
|
||||
- Muestra una previsión usando unidades métricas de los siguientes siete días de una ubicación:
|
||||
|
||||
`ansiweather -u {{metric}} -f {{5}} -l {{Rzeszow,PL}}`
|
||||
`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}`
|
||||
|
||||
- Muestra una previsión con símbolos y datos de la luz del día dada tu ubicación actual:
|
||||
- Muestra una previsión de los siguientes cinco días con símbolos e información de luz diurna de tu ubicación actual:
|
||||
|
||||
`ansiweather -s {{true}} -d {{true}}`
|
||||
`ansiweather -F -s true -d true`
|
||||
|
||||
- Muestra una previsión con los datos de viento y humedad dada tu ubicación actual:
|
||||
- Muestra una previsión con los datos de viento y humedad de tu ubicación actual:
|
||||
|
||||
`ansiweather -w {{true}} -h {{true}}`
|
||||
`ansiweather -w true -h true`
|
||||
|
|
|
@ -16,22 +16,22 @@
|
|||
|
||||
`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"`
|
||||
|
||||
- Descarga desde múltiples fuentes con cada URI apuntando al mismo archivo:
|
||||
- Descarga el mismo archivo desde diferentes espejos y verifica la suma de comprobación del archivo descargado:
|
||||
|
||||
`aria2c "{{url1 url2 ...}}"`
|
||||
`aria2c --checksum {{sha-256}}={{suma_de_comprobación}} "{{url1}}" "{{url2}}" "{{urlN}}"`
|
||||
|
||||
- Descarga las URI enumeradas en un archivo con un número determinado de descargas paralelas:
|
||||
|
||||
`aria2c --input-file={{ruta/al/archivo}} --max-concurrent-downloads={{numero_de_descargas}}`
|
||||
`aria2c --input-file {{ruta/al/archivo}} --max-concurrent-downloads {{número_de_descargas}}`
|
||||
|
||||
- Descarga con varias conexiones:
|
||||
|
||||
`aria2c --split {{numero_de_conexiones}} "{{url}}"`
|
||||
`aria2c --split {{número_de_conexiones}} "{{url}}"`
|
||||
|
||||
- Descarga FTP con nombre de usuario y contraseña:
|
||||
- Descarga a través de FTP con un nombre de usuario y contraseña:
|
||||
|
||||
`aria2c --ftp-user={{nombre_usuario}} --ftp-passwd={{contrasena}} "{{url}}"`
|
||||
`aria2c --ftp-user {{nombre_usuario}} --ftp-passwd {{contraseña}} "{{url}}"`
|
||||
|
||||
- Limita la velocidad de descarga en bytes por segundo:
|
||||
|
||||
`aria2c --max-download-limit={{velocidad}} "{{url}}"`
|
||||
`aria2c --max-download-limit {{velocidad}} "{{url}}"`
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# aws codecommit
|
||||
|
||||
> AWS CodeCommit es un servicio de control de origen administrado que aloja repositorios Git privados.
|
||||
> Un servicio de control de versión capaz de alojar repositorios de Git privados.
|
||||
> Más información: <https://docs.aws.amazon.com/cli/latest/reference/codecommit/>.
|
||||
|
||||
- Muestra la ayuda para un comando específico:
|
||||
|
||||
`aws codecommit {{comando}} help`
|
||||
|
||||
- Muestra la ayuda:
|
||||
- Muestra ayuda:
|
||||
|
||||
`aws codecommit help`
|
||||
|
||||
- Muestra ayuda de un comando:
|
||||
|
||||
`aws codecommit {{comando}} help`
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
# aws iam
|
||||
|
||||
> CLI para AWS IAM.
|
||||
> Interactúa con el Manejo de Identidad y Acceso (o "IAM" en inglés), un servicio web para controlar seguramente el acceso a servicios de AWS.
|
||||
> Más información: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/index.html>.
|
||||
|
||||
- Muestra la página de ayuda de `aws iam` (incluyendo todos los comandos iam disponibles):
|
||||
|
||||
`aws iam help`
|
||||
|
||||
- Lista usuarios:
|
||||
|
||||
`aws iam list-users`
|
||||
|
@ -19,13 +15,13 @@
|
|||
|
||||
`aws iam list-groups`
|
||||
|
||||
- Obtén los usuarios de un grupo:
|
||||
- Obtén los usuarios en un grupo:
|
||||
|
||||
`aws iam get-group --group-name {{nombre_grupo}}`
|
||||
`aws iam get-group --group-name {{nombre_del_grupo}}`
|
||||
|
||||
- Describe una política IAM:
|
||||
|
||||
`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{nombre_de_politica}}`
|
||||
`aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{nombre_de_política}}`
|
||||
|
||||
- Lista claves de acceso:
|
||||
|
||||
|
@ -33,4 +29,8 @@
|
|||
|
||||
- Lista claves de acceso para un usuario específico:
|
||||
|
||||
`aws iam list-access-keys --user-name {{nombre_usuario}}`
|
||||
`aws iam list-access-keys --user-name {{nombre_de_usuario}}`
|
||||
|
||||
- Muestra ayuda:
|
||||
|
||||
`aws iam help`
|
||||
|
|
|
@ -1,28 +1,29 @@
|
|||
# bpytop
|
||||
|
||||
> Muestra información en tiempo real sobre procesos ejecutándose, con gráficos. Similar a `gtop` y `htop`.
|
||||
> Un monitor de recursos que muestra información sobre el CPU, la memoria, los discos, las redes y los procesos.
|
||||
> Una versión de `bashtop` en Python.
|
||||
> Más información: <https://github.com/aristocratos/bpytop>.
|
||||
|
||||
- Inicia bpytop:
|
||||
- Inicia `bpytop`:
|
||||
|
||||
`bpytop`
|
||||
|
||||
- Inicia en modo mínimalista sin recuadros de memoria y redes:
|
||||
- Inicia en el modo mínimo sin los recuadros de memoria y redes:
|
||||
|
||||
`bpytop -m`
|
||||
|
||||
- Cambia a el modo mínimo:
|
||||
|
||||
`m`
|
||||
|
||||
- Busca procesos o programas en ejecución:
|
||||
|
||||
`f`
|
||||
|
||||
- Cambia los ajustes:
|
||||
|
||||
`M`
|
||||
|
||||
- Muestra la versión:
|
||||
|
||||
`bpytop -v`
|
||||
|
||||
- Cambia a modo minimalista:
|
||||
|
||||
`m`
|
||||
|
||||
- Busca procesos o programas ejecutándose:
|
||||
|
||||
`f`
|
||||
|
||||
- Cambia ajustes:
|
||||
|
||||
`M`
|
||||
|
|
|
@ -1,21 +1,9 @@
|
|||
# git
|
||||
|
||||
> Sistema de control de versiones distribuido.
|
||||
> Algunos subcomandos, como `commit`, `add`, `branch`, `checkout`, `push`, etc., tienen su propia documentación de uso, accessible a través de `tldr git subcomando`.
|
||||
> Algunos subcomandos como `commit`, `add`, `branch`, `checkout`, `push`, etc., tienen su propia documentación de uso.
|
||||
> Más información: <https://git-scm.com/>.
|
||||
|
||||
- Muestra la versión de Git:
|
||||
|
||||
`git --version`
|
||||
|
||||
- Muestra ayuda general:
|
||||
|
||||
`git --help`
|
||||
|
||||
- Muestra ayuda sobre un subcomando de Git (como `clone`, `add`, `push`, `log`, etc.):
|
||||
|
||||
`git help {{subcomando}}`
|
||||
|
||||
- Ejecuta un subcomando de Git:
|
||||
|
||||
`git {{subcomando}}`
|
||||
|
@ -24,6 +12,18 @@
|
|||
|
||||
`git -C {{ruta/al/repositorio}} {{subcomando}}`
|
||||
|
||||
- Ejecuta un subcomando de Git con la configuración definida:
|
||||
- Ejecuta un subcomando de Git con configuración personalizada:
|
||||
|
||||
`git -c '{{config.clave}}={{valor}}' {{subcomando}}`
|
||||
|
||||
- Muestra ayuda general:
|
||||
|
||||
`git --help`
|
||||
|
||||
- Muestra ayuda sobre un subcomando de Git (p. ej., `clone`, `add`, `push`, `log`, etc.):
|
||||
|
||||
`git help {{subcomando}}`
|
||||
|
||||
- Muestra la versión:
|
||||
|
||||
`git --version`
|
||||
|
|
|
@ -3,27 +3,27 @@
|
|||
> Encuentra patrones en archivos usando expresiones regulares.
|
||||
> Más información: <https://www.gnu.org/software/grep/manual/grep.html>.
|
||||
|
||||
- Busca un patrón dentro de un archivo:
|
||||
- Busca un patrón en un archivo:
|
||||
|
||||
`grep "{{patrón_de_busqueda}}" {{ruta/al/archivo}}`
|
||||
`grep "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||
|
||||
- Busca una cadena exacta (desactiva las expresiones regulares):
|
||||
- Busca una cadena de caracteres específica (la cadena no será interpretada como una expresión regular):
|
||||
|
||||
`grep {{-F|--fixed-strings}} "{{cadena_exacta}}" {{ruta/al/archivo}}`
|
||||
|
||||
- Busca un patrón en todos los archivos de forma recursiva en un directorio, mostrando los números de línea de las coincidencias, ignorando los archivos binarios:
|
||||
- Busca un patrón en todos los archivos de forma recursiva en un directorio, mostrando los números de línea de las coincidencias e ignorando los archivos binarios:
|
||||
|
||||
`grep {{-r|--recursive}} {{-n|--line-number}} --binary-files={{sin-parejamiento}} "{{patrón_de_búsqueda}}" {{ruta/al/directorio}}`
|
||||
`grep {{-r|--recursive}} {{-n|--line-number}} --binary-files {{without-match}} "{{patrón_de_búsqueda}}" {{ruta/al/directorio}}`
|
||||
|
||||
- Utiliza expresiones regulares extendidas (admite `?`, `+`, `{}`, `()` y `|`), sin distinguir entre mayúsculas y minúsculas:
|
||||
- Utiliza expresiones regulares extendidas (los metacaracteres `?`, `+`, `{}`, `()` y `|` no requieren de una barra inversa), sin distinguir entre mayúsculas y minúsculas:
|
||||
|
||||
`grep {{-E|--extended-regexp}} {{-i|--ignore-case}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||
|
||||
- Imprime 3 líneas de contexto alrededor, antes o después de cada coincidencia:
|
||||
- Imprime 3 líneas alrededor, antes o después de cada coincidencia:
|
||||
|
||||
`grep --{{context|before-context|after-context}}={{3}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||
`grep --{{context|before-context|after-context}} {{3}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||
|
||||
- Imprime el nombre del archivo y el número de línea de cada coincidencia con salida en color:
|
||||
- Imprime con colores el nombre del archivo y el número de línea de cada coincidencia:
|
||||
|
||||
`grep {{-H|--with-filename}} {{-n|--line-number}} --color=always "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||
|
||||
|
@ -31,6 +31,6 @@
|
|||
|
||||
`grep {{-o|--only-matching}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}`
|
||||
|
||||
- Busca `stdin` en las líneas que no coincidan con un patrón:
|
||||
- Busca líneas en`stdin` que no coincidan con el patrón:
|
||||
|
||||
`cat {{ruta/al/archivo}} | grep {{-v|--invert-match}} "{{patrón_de_busqueda}}"`
|
||||
|
|
|
@ -15,19 +15,19 @@
|
|||
|
||||
`ls -F`
|
||||
|
||||
- Lista todos los archivos con formato largo (permisos, propietario, tamaño y fecha de modificación):
|
||||
- Lista todos los archivos en formato largo (permisos, propietarios, tamaño y fecha de última modificación):
|
||||
|
||||
`ls -la`
|
||||
|
||||
- Lista con formato largo y tamaño legible por humanos (KiB, MiB, GiB):
|
||||
- Lista en formato largo y tamaño legible por humanos (i.e., KiB, MiB, GiB, etc.):
|
||||
|
||||
`ls -lh`
|
||||
|
||||
- Lista con formato largo y tamaño en orden descendente:
|
||||
- Lista recursivamente en formato largo y ordena los tamaños de mayor a menor:
|
||||
|
||||
`ls -lS`
|
||||
`ls -lSR`
|
||||
|
||||
- Lista todos los archivos con formato largo, ordenado por fecha de modificación (archivos más viejos en primer lugar):
|
||||
- Lista todos los archivos en formato largo y ordenados por fecha de modificación (archivos más viejos en primer lugar):
|
||||
|
||||
`ls -ltr`
|
||||
|
||||
|
|
|
@ -1,32 +1,29 @@
|
|||
# more
|
||||
|
||||
> Abre un archivo para lectura interactiva, permitiendo navegar y buscar.
|
||||
> Interactivamente muestra el contenido un archivo, permitiendo desplazamiento y búsqueda.
|
||||
> Vea también: `less`.
|
||||
> Más información: <https://manned.org/more.1p>.
|
||||
|
||||
- Abre un archivo:
|
||||
|
||||
`more {{ruta/al/archivo}}`
|
||||
|
||||
- Abre un archivo mostrando desde una línea específica:
|
||||
- Abre un archivo y muestra su contenido desde una línea específica:
|
||||
|
||||
`more +{{numero_linea}} {{ruta/al/archivo}}`
|
||||
`more +{{número_de_línea}} {{ruta/al/archivo}}`
|
||||
|
||||
- Muestra la ayuda:
|
||||
- Avanza a la siguiente página:
|
||||
|
||||
`more --help`
|
||||
`<Espacio>`
|
||||
|
||||
- Avanza hacia la siguiente página:
|
||||
|
||||
`<Space>`
|
||||
|
||||
- Busca una cadena (presione `n` para ir a la siguiente coincidencia):
|
||||
- Busca una cadena de caracteres (presione `n` para ir a la siguiente coincidencia):
|
||||
|
||||
`/{{cadena}}`
|
||||
|
||||
- Salir:
|
||||
- Sal del programa:
|
||||
|
||||
`q`
|
||||
|
||||
- Muestra la ayuda sobre comandos interactivos:
|
||||
- Muestra ayuda sobre comandos interactivos:
|
||||
|
||||
`h`
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
# nc
|
||||
|
||||
> Netcat es una utilidad versátil para trabajar con datos TCP o UDP.
|
||||
> Más información: <https://manned.org/nc.1>.
|
||||
> Redirige datos de entrada o salida a un flujo de red a través de esta versátil herramienta.
|
||||
> Más información: <https://manned.org/man/nc.1>.
|
||||
|
||||
- Escucha en un puerto determinado e imprime cualquier dato recibido:
|
||||
- Inicia un escuchador en un puerto TCP y le envía un archivo:
|
||||
|
||||
`nc -l {{puerto}}`
|
||||
`nc -l -p {{puerto}} < {{nombre_de_archivo}}`
|
||||
|
||||
- Conecta a un puerto determinado:
|
||||
- Conecta a un escuchador en un puerto y recibe un archivo de él:
|
||||
|
||||
`nc {{direccion_ip}} {{puerto}}`
|
||||
`nc {{host}} {{puerto}} > {{nombre_de_archivo_por_recibir}}`
|
||||
|
||||
- Configura un tiempo máximo de respuesta:
|
||||
- Escanea los puertos TCP abiertos en un host:
|
||||
|
||||
`nc -w {{tiempo_en_segundos}} {{direccion_ip}} {{puerto}}`
|
||||
`nc -v -z -w {{tiempo_de_espera_en_segundos}} {{host}} {{puerto_inicial}}-{{puerto_final}}`
|
||||
|
||||
- Mantiene el servidor activo hasta que el cliente se desconecte:
|
||||
- Inicia un escuchador en un puerto TCP y provee de acceso a tu intérprete de comandos local a la parte conectada (esto es peligroso y podría ser explotado):
|
||||
|
||||
`nc -k -l {{puerto}}`
|
||||
`nc -l -p {{puerto}} -e {{ejecutable_del_intérprete}}`
|
||||
|
||||
- Mantiene el cliente activo durante un tiempo después de recibir EOF:
|
||||
- Conecta a un escuchador y provee de acceso a tu intérprete de comandos local a una parte remota (esto es peligroso y podría ser explotado):
|
||||
|
||||
`nc -q {{tiempo_en_segundos}} {{direccion_ip}}`
|
||||
`nc {{host}} {{puerto}} -e {{ejecutable_del_intérprete}}`
|
||||
|
||||
- Escanea puertos abiertos en un determinado host:
|
||||
- Actúa como un proxy y envía información de un puerto TCP local a un host remoto:
|
||||
|
||||
`nc -v -z {{direccion_ip}} {{puerto1 puerto2 ...}}`
|
||||
`nc -l -p {{puerto_local}} | nc {{host}} {{puerto_remoto}}`
|
||||
|
||||
- Actúa como un proxy y redirige los datos desde un puerto TCP local a un host remoto específico:
|
||||
- Envía una petición HTTP GET:
|
||||
|
||||
`nc -l {{puerto_local}} | nc {{nombre_del_host}} {{puerto_remoto}}`
|
||||
`echo -e "GET / HTTP/1.1\nHost: {{host}}\n\n" | nc {{host}} 80`
|
||||
|
|
|
@ -1,37 +1,37 @@
|
|||
# nmap
|
||||
|
||||
> Herramienta de exploración de redes y escáner de seguridad/puertos.
|
||||
> Algunas funciones sólo se activan cuando Nmap se ejecuta con privilegios de root.
|
||||
> Algunas funciones (p. ej. escaneo SYN) se activan solamente cuando `nmap` es ejecutado con los permisos del superusuario.
|
||||
> Más información: <https://nmap.org/book/man.html>.
|
||||
|
||||
- Comprueba si una dirección IP está activa y adivina el sistema operativo del host remoto:
|
||||
- Escanea los top 1000 puertos de un host remoto con varios niveles de [v]erbosidad:
|
||||
|
||||
`nmap -O {{ip_o_nombre_del_host}}`
|
||||
`nmap -v{{1|2|3}} {{ip_o_nombre_de_host}}`
|
||||
|
||||
- Intenta determinar si los hosts especificados están activos (exploración ping) y cuáles son sus nombres y direcciones MAC:
|
||||
- Ejecuta un barrido de ping sobre una subred o hosts específicos:
|
||||
|
||||
`sudo nmap -sn {{ip_o_nombre_del_host}} {{opcional_otra_dirección}}`
|
||||
`nmap -T5 -sn {{192.168.0.0/24|ip_o_nombre_de_host1,ip_o_nombre_de_host2,...}}`
|
||||
|
||||
- Habilita también los scripts, la detección de servicios, la huella digital del SO y el traceroute:
|
||||
- Activa la detección de sistemas operativos, la detección de versión, el escaneo con guiones y traceroute:
|
||||
|
||||
`nmap -A {{dirección_o_direcciones}}`
|
||||
`sudo nmap -A {{ip_o_nombre_de_host1,ip_o_nombre_de_host2,...}}`
|
||||
|
||||
- Escanea una lista específica de puertos (usa '-p-' para todos los puertos desde 1 al 65535):
|
||||
- Escanea una lista de puertos (invoca `nmap` con `-p-` para escanear todos los puertos desde 1 a 65535):
|
||||
|
||||
`nmap -p {{port1,port2,...,portN}} {{dirección_o_direcciones}}`
|
||||
`nmap -p {{puerto1,puerto2,...}} {{ip_o_host1,ip_o_host2,...}}`
|
||||
|
||||
- Realiza la detección de servicios y versiones de los 1000 puertos principales utilizando los scripts por defecto de NSE; escribiendo los resultados ('-oN') en el fichero de salida:
|
||||
- Detecta el servicio y versión de los top 1000 puertos usando los guiones NSE por defecto y escribe los resultados (`-oA`) en archivos de salida:
|
||||
|
||||
`nmap -sC -sV -oN {{top-1000-puertos.txt}} {{dirección_o_direcciones}}`
|
||||
`nmap -sC -sV -oA {{top-1000-ports}} {{ip_o_host1,ip_o_host2,...}}`
|
||||
|
||||
- Escanea objetivo(s) cuidadosamente utilizando los scripts NSE "default and safe":
|
||||
- Escanea objetivo(s) cuidadosamente usando los guiones NSE `default and safe`:
|
||||
|
||||
`nmap --script "default and safe" {{dirección_o_direcciones}}`
|
||||
`nmap --script "default and safe" {{ip_o_host1,ip_o_host2,...}}`
|
||||
|
||||
- Escanea el servidor web que se ejecuta en los puertos estándar 80 y 443 utilizando todos los scripts de NSE 'http-*' disponibles:
|
||||
- Escanea servidores web ejecutándose en los puertos estándares 80 y 443 usando todos los guiones `http-*` NSE disponibles:
|
||||
|
||||
`nmap --script "http-*" {{dirección_o_direcciones}} -p 80,443`
|
||||
`nmap --script "http-*" {{ip_o_host1,ip_o_host2,...}} -p 80,443`
|
||||
|
||||
- Realiza un escaneo sigiloso muy lento ('-T0') intentando evitar la detección por parte de IDS/IPS y utiliza direcciones IP de origen con señuelo ('-D'):
|
||||
- Intenta evadir los sistemas de detección y prevención de intrusos escaneando extremadamente lento (`-T0`) y usando direcciones de origen de señuelo (`-D`), paquetes [f]ragmentados, datos aleatorios y otros métodos:
|
||||
|
||||
`nmap -T0 -D {{decoy1_direcciónip,decoy2_direcciónip,...,decoyN_direcciónip}} {{dirección_o_direcciones}}`
|
||||
`sudo nmap -T0 -D {{ip_de_señuelo1,ip_de_señuelo2,...}} --source-port {{53}} -f --data-length {{16}} -Pn {{ip_o_host}}`
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
- Conecta a una consola serie con una velocidad en baudios específica:
|
||||
|
||||
`picocom {{/dev/ttyXYZ}} --baud {{baud_rate}}`
|
||||
`picocom {{/dev/ttyXYZ}} --baud {{tasa_de_baudios}}`
|
||||
|
||||
- Asigna caracteres especiales (por ejemplo, `LF` a `CRLF`):
|
||||
- Asigna caracteres especiales (p. ej. `LF` a `CRLF`):
|
||||
|
||||
`picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}}`
|
||||
`picocom {{/dev/ttyXYZ}} --imap {{lfcrlf}}`
|
||||
|
|
|
@ -15,18 +15,18 @@
|
|||
|
||||
`usql --command="{{comando_sql}}"`
|
||||
|
||||
- Ejecuta un comando SQL en el indicador `usql`:
|
||||
- Ejecuta un comando SQL en el intérprete de comandos de `usql`:
|
||||
|
||||
`{{prompt}}=> {{comando}}`
|
||||
|
||||
- Muestra el esquema de la base de datos:
|
||||
|
||||
`{{prompt}}=> {{\d}}`
|
||||
`{{prompt}}=> \d`
|
||||
|
||||
- Exporta los resultados de la consulta a un archivo específico:
|
||||
|
||||
`{{prompt}}=> \g {{ruta/a/resultados.txt}}`
|
||||
`{{prompt}}=> \g {{ruta/a/archivo_con_resultados}}`
|
||||
|
||||
- Importa datos de un archivo CSV a una tabla específica:
|
||||
|
||||
`{{prompt}}=> \copy {{/ruta/a/datos.csv}} {{nombre_tabla}}`
|
||||
`{{prompt}}=> \copy {{ruta/a/datos.csv}} {{nombre_de_tabla}}`
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# bspwm
|
||||
|
||||
> Este comando es un alias de `bspc`.
|
||||
> Un gestor de ventanas embaldosado basado en particionado de espacio binario.
|
||||
> Vea también: `bspc`, para controlar el gestor.
|
||||
> Más información: <https://github.com/baskerville/bspwm>.
|
||||
|
||||
- Muestra la documentación del comando original:
|
||||
- Inicia `bspwm` (cabe recalcar que no debe haber otro gestor de ventanas al ejecutar este comando):
|
||||
|
||||
`tldr bspc`
|
||||
`bspwm -c {{ruta/a/archivo_de_configuración}}`
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# systemctl
|
||||
|
||||
> Controla el sistema systemd y el gestor de servicios.
|
||||
> Controla el gestor de sistemas y servicios systemd.
|
||||
> Más información: <https://www.freedesktop.org/software/systemd/man/systemctl.html>.
|
||||
|
||||
- Muestra todos los servicios en ejecución:
|
||||
|
@ -11,26 +11,26 @@
|
|||
|
||||
`systemctl --failed`
|
||||
|
||||
- Inicia/Para/Reinicia/Recarga un servicio:
|
||||
- Inicia, para, reinicia, recarga o muestra el estado de una unidad:
|
||||
|
||||
`systemctl {{start|stop|restart|reload}} {{unidad}}`
|
||||
`systemctl {{start|stop|restart|reload|status}} {{unidad}}`
|
||||
|
||||
- Muestra el estado de una unidad:
|
||||
- Habilita o deshabilita una unidad para iniciarla al arrancar:
|
||||
|
||||
`systemctl status {{unidad}}`
|
||||
`systemctl {{enable|disable}} {{unidad}}`
|
||||
|
||||
- Habilita/Deshabilita una unidad para que se inicie en el arranque:
|
||||
|
||||
`systemctl {{enable/disable}} {{unidad}}`
|
||||
|
||||
- Enmascara/Desenmascara una unidad para evitar su habilitación y activación manual:
|
||||
|
||||
`systemctl {{mask|unmask}} {{unidad}}`
|
||||
|
||||
- Recarga systemd, buscando unidades nuevas o modificadas:
|
||||
- Reinicia systemd, lee unidades nuevas o modificadas:
|
||||
|
||||
`systemctl daemon-reload`
|
||||
|
||||
- Comprueba si una unidad está habilitada:
|
||||
- Checa si una unidad está activa, habilitada, o en estado fallido:
|
||||
|
||||
`systemctl is-enabled {{unidad}}`
|
||||
`systemctl {{is-active|is-enabled|is-failed}} {{unidad}}`
|
||||
|
||||
- Lista todos los servicios, sockets, unidades auto-montadas filtradas por estado en ejecución o fallido:
|
||||
|
||||
`systemctl list-units --type={{service|socket|automount}} --state={{failed|running}}`
|
||||
|
||||
- Muestra los contenidos y la ruta absoluta del archivo de una unidad:
|
||||
|
||||
`systemctl cat {{unidad}}`
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
> Ejecuta remotamente aplicaciones gráficas bajo un compositor para Wayland.
|
||||
> Más información: <https://gitlab.freedesktop.org/mstoeckl/waypipe>.
|
||||
|
||||
- Ejecuta un programa gráfico remotamente y lo muestra localmente:
|
||||
- Ejecuta un programa gráfico remotamente y muestralo localmente:
|
||||
|
||||
`waypipe ssh {{usuario}}@{{servidor}} {{programa}}`
|
||||
|
||||
- Abre un túnel SSH para ejecutar cualquier programa de forma remota y lo visualiza localmente:
|
||||
- Abre un túnel SSH para ejecutar cualquier programa de forma remota y visualizarlo localmente:
|
||||
|
||||
`waypipe ssh {{usuario}}@{servidor}}`
|
||||
`waypipe ssh {{usuario}}@{{servidor}}`
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
- Divide un archivo, cada división tiene 10 líneas (excepto la última división):
|
||||
|
||||
`split -l {{10}} {{nombre_de_archivo}}`
|
||||
`split -l 10 {{ruta/al/archivo}}`
|
||||
|
||||
- Divide un fichero mediante una expresión regular. La línea que coincida será la primera línea del siguiente archivo de salida:
|
||||
|
||||
`split -p {{cat|^[dh]og}} {{nombre_de_archivo}}`
|
||||
`split -p {{cat|^[dh]og}} {{ruta/al/archivo}}`
|
||||
|
||||
- Divide un archivo con 512 bytes en cada división (excepto en la última; utiliza 512k para kilobytes y 512m para megabytes):
|
||||
|
||||
`split -b {{512}} {{nombre_de_archivo}}`
|
||||
`split -b 512 {{ruta/al/archivo}}`
|
||||
|
||||
- Divide un archivo en 5 archivos. El archivo se divide de forma que cada división tenga el mismo tamaño (excepto la última división):
|
||||
|
||||
`split -n {{5}} {{nombre_de_archivo}}`
|
||||
`split -n 5 {{ruta/al/archivo}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# vpnd
|
||||
|
||||
> Escucha las conexiones VPN entrantes.
|
||||
> No debe invocarse manualmente.
|
||||
> No debería ejecutar el programa manualmente.
|
||||
> Más información: <https://keith.github.io/xcode-man-pages/vpnd.8.html>.
|
||||
|
||||
- Inicia el daemon:
|
||||
|
@ -12,18 +12,18 @@
|
|||
|
||||
`vpnd -x`
|
||||
|
||||
- Ejecuta el daemon en primer plano e imprime los registros en el terminal:
|
||||
- Ejecuta el daemon en primer plano e imprime los registros en la terminal:
|
||||
|
||||
`vpnd -d`
|
||||
|
||||
- Ejecuta el daemon en primer plano, imprime los registros en el terminal y luego sale tras validar los argumentos:
|
||||
- Ejecuta el daemon en primer plano, imprime los registros en la terminal y termina después de validar los argumentos:
|
||||
|
||||
`vpnd -n`
|
||||
|
||||
- Imprime el resumen de uso y sale:
|
||||
|
||||
`vpnd -h`
|
||||
|
||||
- Ejecuta el daemon para una configuración de servidor específica:
|
||||
|
||||
`vpnd -i {{identificador_de_servidor}}`
|
||||
|
||||
- Muestra ayuda:
|
||||
|
||||
`vpnd -h`
|
||||
|
|
|
@ -11,18 +11,18 @@
|
|||
|
||||
`xcrun {{herramienta}} {{argumentos}} --verbose`
|
||||
|
||||
- Busca una herramienta para un SDK determinado:
|
||||
- Busca una herramienta para un SDK:
|
||||
|
||||
`xcrun --sdk {{nombre_sdk}}`
|
||||
`xcrun --sdk {{nombre_de_sdk}}`
|
||||
|
||||
- Busca una herramienta para una cadena de herramientas determinada:
|
||||
- Busca una herramienta para una cadena de herramientas:
|
||||
|
||||
`xcrun --toolchain {{nombre}}`
|
||||
|
||||
- Muestra versión:
|
||||
|
||||
`xcrun --version`
|
||||
`xcrun --toolchain {{nombre_de_cadena}}`
|
||||
|
||||
- Muestra ayuda:
|
||||
|
||||
`xcrun --help`
|
||||
|
||||
- Muestra la versión:
|
||||
|
||||
`xcrun --version`
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Affiche / manipule l'adressage, le routage, les interfaces et périphériques réseau, les règles de routage et les tunnels.
|
||||
> Certaines commandes comme `ip address` ont leur propre documentation.
|
||||
> Plus d'informations : <https://www.man7.org/linux/man-pages/man8/ip.8.html>.
|
||||
> Plus d'informations : <https://www.manned.org/ip.8>.
|
||||
|
||||
- Liste les interfaces avec des infos détaillées :
|
||||
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
- Memisahkan sebuah file, tiap bagian memiliki 10 baris (kecuali di bagian terakhir):
|
||||
|
||||
`split -l {{10}} {{nama_file}}`
|
||||
`split -l 10 {{jalan/menuju/berkas}}`
|
||||
|
||||
- Memisahkan sebuah file menjadi 5 file. Dibagi sehingga masing-masing bagian memiliki ukuran yang sama (kecuali di bagian terakhir):
|
||||
|
||||
`split -n {{5}} {{nama_file}}`
|
||||
`split -n 5 {{jalan/menuju/berkas}}`
|
||||
|
||||
- Memisahkan sebuah file dengan ukuran 512 byte masing-masing bagiannya (kecuali di bagian terakhir; gunakan 512k untuk kilobyte dan 512m untuk megabytes):
|
||||
|
||||
`split -b {{512}} {{nama_file}}`
|
||||
`split -b 512 {{jalan/menuju/berkas}}`
|
||||
|
||||
- Memisahkan sebuah file dengan ukuran paling banyak 512 byte masing-masing bagiannya tanpa memotong baris:
|
||||
|
||||
`split -C {{512}} {{nama_file}}`
|
||||
`split -C 512 {{jalan/menuju/berkas}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# man
|
||||
|
||||
> Formatta e mostra pagine manuale.
|
||||
> Maggiori informazioni: <https://www.man7.org/linux/man-pages/man1/man.1.html>.
|
||||
> Maggiori informazioni: <https://www.manned.org/man>.
|
||||
|
||||
- Mostra la pagina di manuale di un comando:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Mostra / manipola routing, dispositivi, criteri di routing e tunnel.
|
||||
> Alcuni sottocomandi, come `ip address`, hanno una propria documentazione d'uso.
|
||||
> Maggiori informazioni: <https://www.man7.org/linux/man-pages/man8/ip.8.html>.
|
||||
> Maggiori informazioni: <https://www.manned.org/ip.8>.
|
||||
|
||||
- Elenca le interfacce con informazioni dettagliate:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# man
|
||||
|
||||
> 설명서 페이지 형식 지정 및 표시.
|
||||
> 더 많은 정보: <https://www.man7.org/linux/man-pages/man1/man.1.html>.
|
||||
> 더 많은 정보: <https://www.manned.org/man>.
|
||||
|
||||
- 명령에 대한 설명서 페이지를 표시:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> 프로세스 이름에 따라 시그널을 전송합니다.
|
||||
> 주로 프로세스를 종료하는데 사용합니다.
|
||||
> 더 많은 정보: <https://www.man7.org/linux/man-pages/man1/pkill.1.html>.
|
||||
> 더 많은 정보: <https://www.manned.org/pkill>.
|
||||
|
||||
- 일치하는 모든 프로세스 종료:
|
||||
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
# ed
|
||||
|
||||
> De originele Unix tekst editor.
|
||||
> Bekijk ook: `awk`, `sed`.
|
||||
> Meer informatie: <https://www.gnu.org/software/ed/manual/ed_manual.html>.
|
||||
|
||||
- Start een interactieve editor sessie met een leeg document:
|
||||
|
||||
`ed`
|
||||
|
||||
- Start een interactieve editor sessie met een leeg document en een specifieke prompt:
|
||||
|
||||
`ed --prompt='> '`
|
||||
|
||||
- Start een interactieve editor sessie met gebruiksvriendelijke foutmeldingen:
|
||||
|
||||
`ed --verbose`
|
||||
|
||||
- Start een interactieve editor sessie met een leeg document en zonder diagnostics, het aantal bytes en de '!' prompt:
|
||||
|
||||
`ed --quiet`
|
||||
|
||||
- Start een interactieve editor sessie zonder exit status change als het commando faalt:
|
||||
|
||||
`ed --loose-exit-status`
|
||||
|
||||
- Pas een specifiek bestand aan (dit toont het aantal bytes van het geladen bestand):
|
||||
|
||||
`ed {{pad/naar/bestand}}`
|
||||
|
||||
- Vervang een string met een specifieke vervanging voor alle regels:
|
||||
|
||||
`,s/{{reguliere_expressie}}/{{vervanging}}/g`
|
|
@ -0,0 +1,24 @@
|
|||
# expand
|
||||
|
||||
> Vervang tabs met spaties.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/expand>.
|
||||
|
||||
- Vervang tabs in ieder bestand met spaties en schrijf het naar `stdout`:
|
||||
|
||||
`expand {{pad/naar/bestand}}`
|
||||
|
||||
- Vervang tabs met spaties, lezend vanaf `stdin`:
|
||||
|
||||
`expand`
|
||||
|
||||
- Vervang geen tabs na een karakter:
|
||||
|
||||
`expand -i {{pad/naar/bestand}}`
|
||||
|
||||
- Laat tabs een bepaald aantal tekens uit elkaar staan, niet 8:
|
||||
|
||||
`expand -t {{nummer}} {{pad/naar/bestand}}`
|
||||
|
||||
- Gebruik een door komma's gescheiden lijst met expliciete tabposities:
|
||||
|
||||
`expand -t {{1,4,6}}`
|
|
@ -0,0 +1,32 @@
|
|||
# expr
|
||||
|
||||
> Evalueer expressies en manipuleer string.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/expr>.
|
||||
|
||||
- Krijg de lengte van een specifieke string:
|
||||
|
||||
`expr length "{{string}}"`
|
||||
|
||||
- Krijg de substring van een string met een specifieke lengte:
|
||||
|
||||
`expr substr "{{string}}" {{van}} {{lengte}}`
|
||||
|
||||
- Vergelijk een specifieke substring met een verankerd patroon:
|
||||
|
||||
`expr match "{{string}}" '{{patroon}}'`
|
||||
|
||||
- Verkrijg de eerste karakterpositie van een specifieke set in een tekenreeks:
|
||||
|
||||
`expr index "{{string}}" "{{karakters}}"`
|
||||
|
||||
- Bereken een specifieke mathematische expressie:
|
||||
|
||||
`expr {{expressie1}} {{+|-|*|/|%}} {{expressie2}}`
|
||||
|
||||
- Bekijk de eerste expressie als de waarde niet nul is en niet null, anders de tweede:
|
||||
|
||||
`expr {{expressie1}} \| {{expressie2}}`
|
||||
|
||||
- Bekijk de eerste expressie als beide expressies niet nul zijn en niet null, anders 0:
|
||||
|
||||
`expr {{expressie1}} \& {{expressie2}}`
|
|
@ -0,0 +1,12 @@
|
|||
# factor
|
||||
|
||||
> Toon de priemfactor van een getal.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/factor>.
|
||||
|
||||
- Toon de priemfactor van een getal:
|
||||
|
||||
`factor {{nummer}}`
|
||||
|
||||
- Neem de invoer van `stdin` als er geen argument is opgegeven:
|
||||
|
||||
`echo {{nummer}} | factor`
|
|
@ -0,0 +1,20 @@
|
|||
# fmt
|
||||
|
||||
> Herformatteer een tekstbestand door de alinea's samen te voegen en de regelbreedte te beperken tot een aantal tekens (standaard 75).
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/fmt>.
|
||||
|
||||
- Herformatteer een bestand:
|
||||
|
||||
`fmt {{pad/naar/bestand}}`
|
||||
|
||||
- Herformatteer een bestand met uitvoerregels van (hoogstens) `n` tekens:
|
||||
|
||||
`fmt -w {{n}} {{pad/naar/bestand}}`
|
||||
|
||||
- Herformatteer een bestand zonder regels die korter zijn dan de opgegeven breedte samen te voegen:
|
||||
|
||||
`fmt -s {{pad/naar/bestand}}`
|
||||
|
||||
- Herformatteer een bestand met uniforme spatiëring (1 spatie tussen woorden en 2 spaties tussen alinea's):
|
||||
|
||||
`fmt -u {{pad/naar/bestand}}`
|
|
@ -0,0 +1,16 @@
|
|||
# fold
|
||||
|
||||
> Breek elke regel in een invoerbestand af om in een gespecificeerde breedte te passen en toon het in `stdout`.
|
||||
> Meer informatie: <https://manned.org/fold.1p>.
|
||||
|
||||
- Breek elke regel af op de standaard breedte (80 tekens):
|
||||
|
||||
`fold {{pad/naar/bestand}}`
|
||||
|
||||
- Breek elke regel af op een breedte van "30":
|
||||
|
||||
`fold -w30 {{pad/naar/bestand}}`
|
||||
|
||||
- Breek elke regel af op een breedte van "5" en breek de regel bij spaties (zet elk door spaties gescheiden woord op een nieuwe regel, woorden langer dan 5 tekens worden afgebroken):
|
||||
|
||||
`fold -w5 -s {{pad/naar/bestand}}`
|
|
@ -0,0 +1,36 @@
|
|||
# ftp
|
||||
|
||||
> Hulpmiddelen om via het File Transfer Protocol met een server te communiceren.
|
||||
> Meer informatie: <https://manned.org/ftp>.
|
||||
|
||||
- Verbinden met een FTP-server:
|
||||
|
||||
`ftp {{ftp.voorbeeld.com}}`
|
||||
|
||||
- Verbinden met een FTP-server met opgave van IP-adres en poort:
|
||||
|
||||
`ftp {{ip_adres}} {{poort}}`
|
||||
|
||||
- Omschakelen naar binaire overdrachtsmodus (grafische bestanden, gecomprimeerde bestanden, etc):
|
||||
|
||||
`binary`
|
||||
|
||||
- Meerdere bestanden overdragen zonder bevestiging voor elk bestand:
|
||||
|
||||
`prompt off`
|
||||
|
||||
- Meerdere bestanden downloaden (glob-expressie):
|
||||
|
||||
`mget {{*.png}}`
|
||||
|
||||
- Meerdere bestanden uploaden (glob-expressie):
|
||||
|
||||
`mput {{*.zip}}`
|
||||
|
||||
- Meerdere bestanden verwijderen op de externe server:
|
||||
|
||||
`mdelete {{*.txt}}`
|
||||
|
||||
- Een bestand hernoemen op de externe server:
|
||||
|
||||
`rename {{originele_bestandsnaam}} {{nieuwe_bestandsnaam}}`
|
|
@ -0,0 +1,8 @@
|
|||
# hostid
|
||||
|
||||
> Toon het numerieke identificatienummer voor de huidige host (niet noodzakelijkerwijs het IP-adres).
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/hostid>.
|
||||
|
||||
- Toon het numerieke identificatienummer voor de huidige host in hexadecimale notatie:
|
||||
|
||||
`hostid`
|
|
@ -0,0 +1,24 @@
|
|||
# hostname
|
||||
|
||||
> Toon of stel de hostnaam van het systeem in.
|
||||
> Meer informatie: <https://manned.org/hostname>.
|
||||
|
||||
- Toon de huidige hostnaam:
|
||||
|
||||
`hostname`
|
||||
|
||||
- Toon het netwerkadres van de hostnaam:
|
||||
|
||||
`hostname -i`
|
||||
|
||||
- Toon alle netwerkadressen van de host:
|
||||
|
||||
`hostname -I`
|
||||
|
||||
- Toon de FQDN (Fully Qualified Domain Name):
|
||||
|
||||
`hostname --fqdn`
|
||||
|
||||
- Stel een nieuwe hostnaam in:
|
||||
|
||||
`hostname {{nieuwe_hostnaam}}`
|
|
@ -0,0 +1,20 @@
|
|||
# id
|
||||
|
||||
> Toon de huidige gebruikers- en groepsidentiteit.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/id>.
|
||||
|
||||
- Toon de ID (UID), groep-ID (GID) en groepen waartoe de huidige gebruiker behoort:
|
||||
|
||||
`id`
|
||||
|
||||
- Toon de identiteit van de huidige gebruiker als een nummer:
|
||||
|
||||
`id -u`
|
||||
|
||||
- Toon de identiteit van de huidige groep als een nummer:
|
||||
|
||||
`id -g`
|
||||
|
||||
- Toon de ID (UID), groep-ID (GID) en groepen waartoe een willekeurige gebruiker behoort:
|
||||
|
||||
`id {{gebruikersnaam}}`
|
|
@ -0,0 +1,24 @@
|
|||
# ifconfig
|
||||
|
||||
> Netwerkinterface-configurator.
|
||||
> Meer informatie: <https://net-tools.sourceforge.io/man/ifconfig.8.html>.
|
||||
|
||||
- Bekijk netwerkinstellingen van een Ethernet-adapter:
|
||||
|
||||
`ifconfig eth0`
|
||||
|
||||
- Toon details van alle interfaces, inclusief uitgeschakelde interfaces:
|
||||
|
||||
`ifconfig -a`
|
||||
|
||||
- Schakel de eth0-interface uit:
|
||||
|
||||
`ifconfig eth0 down`
|
||||
|
||||
- Schakel de eth0-interface in:
|
||||
|
||||
`ifconfig eth0 up`
|
||||
|
||||
- Ken een IP-adres toe aan de eth0-interface:
|
||||
|
||||
`ifconfig eth0 {{ip_adres}}`
|
|
@ -0,0 +1,16 @@
|
|||
# indent
|
||||
|
||||
> Wijzig het uiterlijk van een C/C++-programma door spaties in te voegen of te verwijderen.
|
||||
> Meer informatie: <https://www.gnu.org/software/indent/>.
|
||||
|
||||
- Formatteer C/C++-broncode volgens de Linux style guide, maak automatisch een back-up van de originele bestanden en vervang deze door de ingesprongen versies:
|
||||
|
||||
`indent --linux-style {{pad/naar/bron.c}} {{pad/naar/andere_bron.c}}`
|
||||
|
||||
- Formatteer C/C++-broncode volgens de GNU-stijl en sla de ingesprongen versie op in een ander bestand:
|
||||
|
||||
`indent --gnu-style {{pad/naar/bron.c}} -o {{pad/naar/indented_source.c}}`
|
||||
|
||||
- Formatteer C/C++-broncode volgens de stijl van Kernighan & Ritchie (K&R), geen tabs, 3 spaties per inspringing en breek regels af op 120 tekens:
|
||||
|
||||
`indent --k-and-r-style --indent-level3 --no-tabs --line-length120 {{pad/naar/bron.c}} -o {{pad/naar/indented_source.c}}`
|
|
@ -0,0 +1,29 @@
|
|||
# install
|
||||
|
||||
> Kopieer bestanden en stel attributen in.
|
||||
> Kopieer bestanden (vaak uitvoerbare) naar een systeemlocatie zoals `/usr/local/bin` en geef ze de juiste permissies/eigendom.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/install>.
|
||||
|
||||
- Kopieer bestanden naar de bestemming:
|
||||
|
||||
`install {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}`
|
||||
|
||||
- Kopieer bestanden naar de bestemming en stel hun eigendom in:
|
||||
|
||||
`install --owner {{gebruiker}} {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}`
|
||||
|
||||
- Kopieer bestanden naar de bestemming en stel hun groepseigendom in:
|
||||
|
||||
`install --group {{gebruiker}} {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}`
|
||||
|
||||
- Kopieer bestanden naar de bestemming en stel hun `modus` in:
|
||||
|
||||
`install --mode {{+x}} {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}`
|
||||
|
||||
- Kopieer bestanden en pas toegangstijden/wijzigingstijden van de bron toe op de bestemming:
|
||||
|
||||
`install --preserve-timestamps {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}`
|
||||
|
||||
- Kopieer bestanden en maak de mappen op de bestemming aan als ze niet bestaan:
|
||||
|
||||
`install -D {{pad/naar/bronbestand1 pad/naar/bronbestand2 ...}} {{pad/naar/bestemming}}`
|
|
@ -0,0 +1,24 @@
|
|||
# join
|
||||
|
||||
> Voeg regels van twee gesorteerde bestanden samen op een gemeenschappelijk veld.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/join>.
|
||||
|
||||
- Voeg twee bestanden samen op het eerste (standaard) veld:
|
||||
|
||||
`join {{pad/naar/bestand1}} {{pad/naar/bestand2}}`
|
||||
|
||||
- Voeg twee bestanden samen met een komma (in plaats van een spatie) als veldscheidingsteken:
|
||||
|
||||
`join -t {{','}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}`
|
||||
|
||||
- Voeg veld 3 van bestand 1 samen met veld 1 van bestand 2:
|
||||
|
||||
`join -1 {{3}} -2 {{1}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}`
|
||||
|
||||
- Produceer een regel voor elke niet-koppelbare regel van bestand 1:
|
||||
|
||||
`join -a {{1}} {{pad/naar/bestand1}} {{pad/naar/bestand2}}`
|
||||
|
||||
- Voeg een bestand samen vanaf `stdin`:
|
||||
|
||||
`cat {{pad/naar/bestand1}} | join - {{pad/naar/bestand2}}`
|
|
@ -0,0 +1,33 @@
|
|||
# kill
|
||||
|
||||
> Stuurt een signaal naar een proces, meestal om het proces te stoppen.
|
||||
> Alle signalen behalve SIGKILL en SIGSTOP kunnen door het proces worden onderschept om een nette afsluiting uit te voeren.
|
||||
> Meer informatie: <https://manned.org/kill.1posix>.
|
||||
|
||||
- Beëindig een programma met behulp van het standaard SIGTERM (terminate) signaal:
|
||||
|
||||
`kill {{proces_id}}`
|
||||
|
||||
- Lijst beschikbare signalen op (te gebruiken zonder het `SIG` voorvoegsel):
|
||||
|
||||
`kill -l`
|
||||
|
||||
- Beëindig een programma met behulp van het SIGHUP (hang up) signaal. Veel daemons zullen herladen in plaats van beëindigen:
|
||||
|
||||
`kill -{{1|HUP}} {{proces_id}}`
|
||||
|
||||
- Beëindig een programma met behulp van het SIGINT (interrupt) signaal. Dit wordt meestal geïnitieerd door de gebruiker die `Ctrl + C` indrukt:
|
||||
|
||||
`kill -{{2|INT}} {{proces_id}}`
|
||||
|
||||
- Signaleer het besturingssysteem om een programma onmiddellijk te beëindigen (het programma krijgt geen kans om het signaal te onderscheppen):
|
||||
|
||||
`kill -{{9|KILL}} {{proces_id}}`
|
||||
|
||||
- Signaleer het besturingssysteem om een programma te pauzeren totdat een SIGCONT ("continue") signaal wordt ontvangen:
|
||||
|
||||
`kill -{{17|STOP}} {{proces_id}}`
|
||||
|
||||
- Stuur een `SIGUSR1` signaal naar alle processen met de gegeven GID (groeps-ID):
|
||||
|
||||
`kill -{{SIGUSR1}} -{{groep_id}}`
|
|
@ -0,0 +1,9 @@
|
|||
# link
|
||||
|
||||
> Maak een harde koppeling naar een bestaand bestand.
|
||||
> Voor meer opties, zie het `ln` commando.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/link>.
|
||||
|
||||
- Maak een harde koppeling van een nieuw bestand naar een bestaand bestand:
|
||||
|
||||
`link {{pad/naar/bestaand_bestand}} {{pad/naar/nieuw_bestand}}`
|
|
@ -0,0 +1,24 @@
|
|||
# logger
|
||||
|
||||
> Voeg berichten toe aan syslog (/var/log/syslog).
|
||||
> Meer informatie: <https://manned.org/logger>.
|
||||
|
||||
- Log een bericht naar syslog:
|
||||
|
||||
`logger {{bericht}}`
|
||||
|
||||
- Neem invoer van `stdin` en log naar syslog:
|
||||
|
||||
`echo {{log_entry}} | logger`
|
||||
|
||||
- Stuur de uitvoer naar een externe syslog-server die op een bepaalde poort draait. Standaardpoort is 514:
|
||||
|
||||
`echo {{log_entry}} | logger --server {{hostname}} --port {{poort}}`
|
||||
|
||||
- Gebruik een specifieke tag voor elke gelogde regel. Standaard is de naam van de ingelogde gebruiker:
|
||||
|
||||
`echo {{log_entry}} | logger --tag {{tag}}`
|
||||
|
||||
- Log berichten met een gegeven prioriteit. Standaard is `user.notice`. Zie `man logger` voor alle prioriteitsopties:
|
||||
|
||||
`echo {{log_entry}} | logger --priority {{user.warning}}`
|
|
@ -0,0 +1,36 @@
|
|||
# ls
|
||||
|
||||
> Toon de inhoud van een map.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/ls>.
|
||||
|
||||
- Toon één bestand per regel:
|
||||
|
||||
`ls -1`
|
||||
|
||||
- Toon alle bestanden, inclusief verborgen bestanden:
|
||||
|
||||
`ls -a`
|
||||
|
||||
- Toon alle bestanden, met een `/` achter de namen van mappen:
|
||||
|
||||
`ls -F`
|
||||
|
||||
- Lange lijstweergave (permissies, eigendom, grootte en wijzigingsdatum) van alle bestanden:
|
||||
|
||||
`ls -la`
|
||||
|
||||
- Lange lijstweergave met grootte weergegeven in leesbare eenheden (KiB, MiB, GiB):
|
||||
|
||||
`ls -lh`
|
||||
|
||||
- Lange lijstweergave gesorteerd op grootte (aflopend) recursief:
|
||||
|
||||
`ls -lSR`
|
||||
|
||||
- Lange lijstweergave van alle bestanden, gesorteerd op wijzigingsdatum (oudste eerst):
|
||||
|
||||
`ls -ltr`
|
||||
|
||||
- Toon alleen mappen:
|
||||
|
||||
`ls -d */`
|
|
@ -0,0 +1,37 @@
|
|||
# make
|
||||
|
||||
> Taakuitvoerder voor doelen beschreven in Makefile.
|
||||
> Wordt meestal gebruikt om de compilatie van een uitvoerbaar bestand uit broncode te beheren.
|
||||
> Meer informatie: <https://www.gnu.org/software/make/manual/make.html>.
|
||||
|
||||
- Roep het eerste doel aan dat in de Makefile is gespecificeerd (meestal "all" genoemd):
|
||||
|
||||
`make`
|
||||
|
||||
- Roep een specifiek doel aan:
|
||||
|
||||
`make {{doel}}`
|
||||
|
||||
- Roep een specifiek doel aan en voer 4 taken tegelijk uit in parallel:
|
||||
|
||||
`make -j{{4}} {{doel}}`
|
||||
|
||||
- Gebruik een specifieke Makefile:
|
||||
|
||||
`make --file {{pad/naar/bestand}}`
|
||||
|
||||
- Voer make uit vanuit een andere map:
|
||||
|
||||
`make --directory {{pad/naar/map}}`
|
||||
|
||||
- Forceer het maken van een doel, zelfs als bronbestanden ongewijzigd zijn:
|
||||
|
||||
`make --always-make {{doel}}`
|
||||
|
||||
- Overschrijf een variabele die in de Makefile is gedefinieerd:
|
||||
|
||||
`make {{doel}} {{variabele}}={{nieuwe_waarde}}`
|
||||
|
||||
- Overschrijf variabelen die in de Makefile zijn gedefinieerd door de omgeving:
|
||||
|
||||
`make --environment-overrides {{doel}}`
|
|
@ -0,0 +1,28 @@
|
|||
# md5sum
|
||||
|
||||
> Bereken MD5 cryptografische checksums.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/md5sum>.
|
||||
|
||||
- Bereken de MD5 checksum voor één of meer bestanden:
|
||||
|
||||
`md5sum {{pad/naar/bestand1 pad/naar/bestand2 ...}}`
|
||||
|
||||
- Bereken en sla de lijst van MD5 checksums op in een bestand:
|
||||
|
||||
`md5sum {{pad/naar/bestand1 pad/naar/bestand2 ...}} > {{pad/naar/bestand.md5}}`
|
||||
|
||||
- Bereken een MD5 checksum van `stdin`:
|
||||
|
||||
`{{commando}} | md5sum`
|
||||
|
||||
- Lees een bestand met MD5 checksums en bestandsnamen en verifieer dat alle bestanden overeenkomende checksums hebben:
|
||||
|
||||
`md5sum --check {{pad/naar/bestand.md5}}`
|
||||
|
||||
- Toon alleen een bericht voor ontbrekende bestanden of wanneer verificatie mislukt:
|
||||
|
||||
`md5sum --check --quiet {{pad/naar/bestand.md5}}`
|
||||
|
||||
- Toon alleen een bericht wanneer verificatie mislukt, negeer ontbrekende bestanden:
|
||||
|
||||
`md5sum --ignore-missing --check --quiet {{pad/naar/bestand.md5}}`
|
|
@ -0,0 +1,16 @@
|
|||
# mkdir
|
||||
|
||||
> Maak mappen aan en stel hun permissies in.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/mkdir>.
|
||||
|
||||
- Maak specifieke mappen aan:
|
||||
|
||||
`mkdir {{pad/naar/map1 pad/naar/map2 ...}}`
|
||||
|
||||
- Maak specifieke mappen en hun ouders ([p]) aan indien nodig:
|
||||
|
||||
`mkdir -p {{pad/naar/map1 pad/naar/map2 ...}}`
|
||||
|
||||
- Maak mappen aan met specifieke permissies:
|
||||
|
||||
`mkdir -m {{rwxrw-r--}} {{pad/naar/map1 pad/naar/map2 ...}}`
|
|
@ -0,0 +1,24 @@
|
|||
# mktemp
|
||||
|
||||
> Maak een tijdelijk bestand of een tijdelijke map aan.
|
||||
> Meer informatie: <https://man.openbsd.org/mktemp.1>.
|
||||
|
||||
- Maak een leeg tijdelijk bestand en toon het absolute pad:
|
||||
|
||||
`mktemp`
|
||||
|
||||
- Gebruik een aangepaste map als `$TMPDIR` niet is ingesteld (de standaard is platformafhankelijk, maar meestal `/tmp`):
|
||||
|
||||
`mktemp -p {{/pad/naar/tempdir}}`
|
||||
|
||||
- Gebruik een aangepast pad-sjabloon (`X`en worden vervangen door willekeurige alfanumerieke tekens):
|
||||
|
||||
`mktemp {{/tmp/voorbeeld.XXXXXXXX}}`
|
||||
|
||||
- Gebruik een aangepast bestandsnaam-sjabloon:
|
||||
|
||||
`mktemp -t {{voorbeeld.XXXXXXXX}}`
|
||||
|
||||
- Maak een lege tijdelijke map aan en toon het absolute pad:
|
||||
|
||||
`mktemp -d`
|
|
@ -0,0 +1,20 @@
|
|||
# split
|
||||
|
||||
> Split een bestand in stukken.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/split>.
|
||||
|
||||
- Split een bestand, elk deel heeft 10 regels (behalve het laatste deel):
|
||||
|
||||
`split -l 10 {{pad/naar/bestand}}`
|
||||
|
||||
- Split een bestand in 5 bestanden. Het bestand wordt zo gesplitst dat elk deel dezelfde grootte heeft (behalve het laatste deel):
|
||||
|
||||
`split -n 5 {{pad/naar/bestand}}`
|
||||
|
||||
- Split een bestand met 512 bytes in elk deel (behalve het laatste deel; gebruik 512k voor kilobytes en 512m voor megabytes):
|
||||
|
||||
`split -b 512 {{pad/naar/bestand}}`
|
||||
|
||||
- Splits een bestand met maximaal 512 bytes in elk deel zonder regels te breken:
|
||||
|
||||
`split -C 512 {{pad/naar/bestand}}`
|
|
@ -0,0 +1,12 @@
|
|||
# whoami
|
||||
|
||||
> Toon de gebruikersnaam die is gekoppeld aan de huidige effectieve gebruikers-ID.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/whoami>.
|
||||
|
||||
- Toon de momenteel ingelogde gebruikersnaam:
|
||||
|
||||
`whoami`
|
||||
|
||||
- Toon de gebruikersnaam na een wijziging in de gebruikers-ID:
|
||||
|
||||
`sudo whoami`
|
|
@ -0,0 +1,16 @@
|
|||
# fold
|
||||
|
||||
> Breek lange regels af voor uitvoerapparaten met vaste breedte.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/fold>.
|
||||
|
||||
- Breek regels af met een vaste breedte:
|
||||
|
||||
`fold --width {{breedte}} {{pad/naar/bestand}}`
|
||||
|
||||
- Tel breedte in bytes (standaard is het tellen in kolommen):
|
||||
|
||||
`fold --bytes --width {{breedte_in_bytes}} {{pad/naar/bestand}}`
|
||||
|
||||
- Breek de regel na de meest rechtse spatie binnen de breedtelimiet:
|
||||
|
||||
`fold --spaces --width {{breedte}} {{pad/naar/bestand}}`
|
|
@ -0,0 +1,37 @@
|
|||
# kill
|
||||
|
||||
> Stuurt een signaal naar een proces, meestal om het proces te stoppen.
|
||||
> Alle signalen behalve SIGKILL en SIGSTOP kunnen door het proces worden onderschept om een nette afsluiting uit te voeren.
|
||||
> Meer informatie: <https://manned.org/kill>.
|
||||
|
||||
- Beëindig een programma met behulp van het standaard SIGTERM (terminate) signaal:
|
||||
|
||||
`kill {{proces_id}}`
|
||||
|
||||
- Lijst signaalwaarden en hun overeenkomstige namen op (te gebruiken zonder het `SIG` voorvoegsel):
|
||||
|
||||
`kill {{-L|--table}}`
|
||||
|
||||
- Beëindig een achtergrondtaak:
|
||||
|
||||
`kill %{{taak_id}}`
|
||||
|
||||
- Beëindig een programma met behulp van het SIGHUP (hang up) signaal. Veel daemons zullen herladen in plaats van beëindigen:
|
||||
|
||||
`kill -{{1|HUP}} {{proces_id}}`
|
||||
|
||||
- Beëindig een programma met behulp van het SIGINT (interrupt) signaal. Dit wordt meestal geïnitieerd door de gebruiker die `Ctrl + C` indrukt:
|
||||
|
||||
`kill -{{2|INT}} {{proces_id}}`
|
||||
|
||||
- Signaleer het besturingssysteem om een programma onmiddellijk te beëindigen (het programma krijgt geen kans om het signaal te onderscheppen):
|
||||
|
||||
`kill -{{9|KILL}} {{proces_id}}`
|
||||
|
||||
- Signaleer het besturingssysteem om een programma te pauzeren totdat een SIGCONT ("continue") signaal wordt ontvangen:
|
||||
|
||||
`kill -{{17|STOP}} {{proces_id}}`
|
||||
|
||||
- Stuur een `SIGUSR1` signaal naar alle processen met de gegeven GID (groeps-ID):
|
||||
|
||||
`kill -{{SIGUSR1}} -{{groep_id}}`
|
|
@ -0,0 +1,16 @@
|
|||
# locate
|
||||
|
||||
> Vind snel bestandsnamen.
|
||||
> Meer informatie: <https://manned.org/locate>.
|
||||
|
||||
- Zoek naar een patroon in de database. Opmerking: de database wordt periodiek herberekend (meestal wekelijks of dagelijks):
|
||||
|
||||
`locate {{patroon}}`
|
||||
|
||||
- Zoek naar een bestand op basis van de exacte bestandsnaam (een patroon zonder glob-tekens wordt geïnterpreteerd als `*patroon*`):
|
||||
|
||||
`locate '*/{{bestandsnaam}}'`
|
||||
|
||||
- Herbereken de database. Dit moet je doen als je recent toegevoegde bestanden wilt vinden:
|
||||
|
||||
`sudo updatedb`
|
|
@ -0,0 +1,28 @@
|
|||
# mktemp
|
||||
|
||||
> Maak een tijdelijk bestand of een tijdelijke map aan.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/mktemp>.
|
||||
|
||||
- Maak een leeg tijdelijk bestand en toon het absolute pad:
|
||||
|
||||
`mktemp`
|
||||
|
||||
- Gebruik een aangepaste map (standaard is `$TMPDIR`, of `/tmp`):
|
||||
|
||||
`mktemp --tmpdir={{/pad/naar/tempdir}}`
|
||||
|
||||
- Gebruik een aangepast pad-sjabloon (`X`en worden vervangen door willekeurige alfanumerieke tekens):
|
||||
|
||||
`mktemp {{/tmp/voorbeeld.XXXXXXXX}}`
|
||||
|
||||
- Gebruik een aangepast bestandsnaam-sjabloon:
|
||||
|
||||
`mktemp -t {{voorbeeld.XXXXXXXX}}`
|
||||
|
||||
- Maak een leeg tijdelijk bestand met de opgegeven extensie en toon het absolute pad:
|
||||
|
||||
`mktemp --suffix {{.ext}}`
|
||||
|
||||
- Maak een lege tijdelijke map aan en toon het absolute pad:
|
||||
|
||||
`mktemp --directory`
|
|
@ -0,0 +1,25 @@
|
|||
# ed
|
||||
|
||||
> De originele Unix tekst editor.
|
||||
> Bekijk ook: `awk`, `sed`.
|
||||
> Meer informatie: <https://www.gnu.org/software/ed/manual/ed_manual.html>.
|
||||
|
||||
- Start een interactieve editor sessie met een leeg document:
|
||||
|
||||
`ed`
|
||||
|
||||
- Start een interactieve editor sessie met een leeg document en een specifieke [p]rompt:
|
||||
|
||||
`ed -p '> '`
|
||||
|
||||
- Start een interactieve editor sessie met een leeg document en zonder diagnostics, het aantal bytes en de '!' prompt:
|
||||
|
||||
`ed -s`
|
||||
|
||||
- Pas een specifiek bestand aan (dit toont het aantal bytes van het geladen bestand):
|
||||
|
||||
`ed {{pad/naar/bestand}}`
|
||||
|
||||
- Vervang een string met een specifieke vervanging voor alle regels:
|
||||
|
||||
`,s/{{reguliere_expressie}}/{{vervanging}}/g`
|
|
@ -0,0 +1,12 @@
|
|||
# indent
|
||||
|
||||
> Wijzig het uiterlijk van een C/C++-programma door spaties in te voegen of te verwijderen.
|
||||
> Meer informatie: <https://keith.github.io/xcode-man-pages/indent.1.html>.
|
||||
|
||||
- Formatteer C/C++-broncode volgens de Berkeley-stijl:
|
||||
|
||||
`indent {{pad/naar/bronbestand.c}} {{pad/naar/ingesprongen_bestand.c}} -nbad -nbap -bc -br -c33 -cd33 -cdb -ce -ci4 -cli0 -di16 -fc1 -fcb -i4 -ip -l75 -lp -npcs -nprs -psl -sc -nsob -ts8`
|
||||
|
||||
- Formatteer C/C++-broncode volgens de stijl van Kernighan & Ritchie (K&R):
|
||||
|
||||
`indent {{pad/naar/bronbestand.c}} {{pad/naar/ingesprongen_bestand.c}} -nbad -bap -nbc -br -c33 -cd33 -ncdb -ce -ci4 -cli0 -cs -d0 -di1 -nfc1 -nfcb -i4 -nip -l75 -lp -npcs -nprs -npsl -nsc -nsob`
|
|
@ -0,0 +1,16 @@
|
|||
# locate
|
||||
|
||||
> Vind snel bestandsnamen.
|
||||
> Meer informatie: <https://keith.github.io/xcode-man-pages/locate.1.html>.
|
||||
|
||||
- Zoek naar een patroon in de database. Opmerking: de database wordt periodiek herberekend (meestal wekelijks of dagelijks):
|
||||
|
||||
`locate "{{patroon}}"`
|
||||
|
||||
- Zoek naar een bestand op basis van de exacte bestandsnaam (een patroon zonder glob-tekens wordt geïnterpreteerd als `*patroon*`):
|
||||
|
||||
`locate */{{bestandsnaam}}`
|
||||
|
||||
- Herbereken de database. Dit moet je doen als je recent toegevoegde bestanden wilt vinden:
|
||||
|
||||
`sudo /usr/libexec/locate.updatedb`
|
|
@ -0,0 +1,24 @@
|
|||
# mktemp
|
||||
|
||||
> Maak een tijdelijk bestand of een tijdelijke map aan.
|
||||
> Meer informatie: <https://keith.github.io/xcode-man-pages/mktemp.1.html>.
|
||||
|
||||
- Maak een leeg tijdelijk bestand en toon het absolute pad:
|
||||
|
||||
`mktemp`
|
||||
|
||||
- Gebruik een aangepaste map (standaard is de uitvoer van `getconf DARWIN_USER_TEMP_DIR`, of `/tmp`):
|
||||
|
||||
`mktemp --tmpdir={{/pad/naar/tempdir}}`
|
||||
|
||||
- Gebruik een aangepast pad-sjabloon (`X`en worden vervangen door willekeurige alfanumerieke tekens):
|
||||
|
||||
`mktemp {{/tmp/voorbeeld.XXXXXXXX}}`
|
||||
|
||||
- Gebruik een aangepaste bestandsnaam-prefix:
|
||||
|
||||
`mktemp -t {{voorbeeld}}`
|
||||
|
||||
- Maak een lege tijdelijke map aan en toon het absolute pad:
|
||||
|
||||
`mktemp --directory`
|
|
@ -0,0 +1,20 @@
|
|||
# split
|
||||
|
||||
> Split een bestand in stukken.
|
||||
> Meer informatie: <https://keith.github.io/xcode-man-pages/split.1.html>.
|
||||
|
||||
- Split een bestand, elk deel heeft 10 regels (behalve het laatste deel):
|
||||
|
||||
`split -l 10 {{pad/naar/bestand}}`
|
||||
|
||||
- Split een bestand op een reguliere expressie. De overeenkomende regel zal de eerste regel van het volgende uitvoerbestand zijn:
|
||||
|
||||
`split -p {{cat|^[dh]og}} {{pad/naar/bestand}}`
|
||||
|
||||
- Split een bestand met 512 bytes in elk deel (behalve het laatste deel; gebruik 512k voor kilobytes en 512m voor megabytes):
|
||||
|
||||
`split -b 512 {{pad/naar/bestand}}`
|
||||
|
||||
- Split een bestand in 5 bestanden. Het bestand wordt zo gesplitst dat elk deel dezelfde grootte heeft (behalve het laatste deel):
|
||||
|
||||
`split -n 5 {{pad/naar/bestand}}`
|
|
@ -0,0 +1,24 @@
|
|||
# expand
|
||||
|
||||
> Pak Windows Cabinet bestanden uit.
|
||||
> Meer informatie: <https://learn.microsoft.com/windows-server/administration/windows-commands/expand>.
|
||||
|
||||
- Pak een Cabinet bestand met één bestand naar de specifieke map:
|
||||
|
||||
`expand {{pad\naar\bestand.cab}} {{pad\naar\map}}`
|
||||
|
||||
- Toon een lijst van bestanden in een Cabinet bestand:
|
||||
|
||||
`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -d`
|
||||
|
||||
- Pak alle bestanden van een Cabinet bestand uit:
|
||||
|
||||
`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -f:*`
|
||||
|
||||
- Pak een specifiek bestand van een Cabinet bestand uit:
|
||||
|
||||
`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -f:{{pad\naar\bestand}}`
|
||||
|
||||
- Negeer de mapstructuur bij het uitpakken en voeg ze toe aan een enkele map:
|
||||
|
||||
`expand {{pad\naar\bestand.cab}} {{pad\naar\map}} -i`
|
|
@ -0,0 +1,36 @@
|
|||
# ftp
|
||||
|
||||
> Interactief bestanden overzetten tussen een lokale en een externe FTP-server.
|
||||
> Meer informatie: <https://learn.microsoft.com/windows-server/administration/windows-commands/ftp>.
|
||||
|
||||
- Verbind interactief met een externe FTP-server:
|
||||
|
||||
`ftp {{host}}`
|
||||
|
||||
- Log in als een anonieme gebruiker:
|
||||
|
||||
`ftp -A {{host}}`
|
||||
|
||||
- Schakel automatisch inloggen uit bij de eerste verbinding:
|
||||
|
||||
`ftp -n {{host}}`
|
||||
|
||||
- Voer een bestand uit met een lijst van FTP-opdrachten:
|
||||
|
||||
`ftp -s:{{pad\naar\bestand}} {{host}}`
|
||||
|
||||
- Download meerdere bestanden (glob-expressie):
|
||||
|
||||
`mget {{*.png}}`
|
||||
|
||||
- Upload meerdere bestanden (glob-expressie):
|
||||
|
||||
`mput {{*.zip}}`
|
||||
|
||||
- Verwijder meerdere bestanden op de externe server:
|
||||
|
||||
`mdelete {{*.txt}}`
|
||||
|
||||
- Toon hulp:
|
||||
|
||||
`ftp --help`
|
|
@ -0,0 +1,12 @@
|
|||
# mkdir
|
||||
|
||||
> Maak een map aan.
|
||||
> Meer informatie: <https://learn.microsoft.com/windows-server/administration/windows-commands/mkdir>.
|
||||
|
||||
- Maak een map aan:
|
||||
|
||||
`mkdir {{pad\naar\map}}`
|
||||
|
||||
- Maak een geneste mappenstructuur recursief aan:
|
||||
|
||||
`mkdir {{pad\naar\sub_map}}`
|
|
@ -1,6 +1,6 @@
|
|||
# New-Item
|
||||
|
||||
> Maak een nieuw bestand, directory, symbolische link of een registerinvoer.
|
||||
> Maak een nieuw bestand, map, symbolische link of een registerinvoer.
|
||||
> Dit commando kan alleen worden uitgevoerd onder PowerShell.
|
||||
> Meer informatie: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/new-item>.
|
||||
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
# whoami
|
||||
|
||||
> Toon details over de huidige gebruiker.
|
||||
> Meer informatie: <https://learn.microsoft.com/windows-server/administration/windows-commands/whoami>.
|
||||
|
||||
- Toon de gebruikersnaam van de huidige gebruiker:
|
||||
|
||||
`whoami`
|
||||
|
||||
- Toon de groepen waarvan de huidige gebruiker lid is:
|
||||
|
||||
`whoami /groups`
|
||||
|
||||
- Toon de privileges van de huidige gebruiker:
|
||||
|
||||
`whoami /priv`
|
||||
|
||||
- Toon de user principal name (UPN) van de huidige gebruiker:
|
||||
|
||||
`whoami /upn`
|
||||
|
||||
- Toon de logon ID van de huidige gebruiker:
|
||||
|
||||
`whoami /logonid`
|
||||
|
||||
- Toon alle informatie voor de huidige gebruiker:
|
||||
|
||||
`whoami /all`
|
|
@ -1,7 +1,7 @@
|
|||
# man
|
||||
|
||||
> Formata e exibe páginas de manual.
|
||||
> Mais informações: <https://www.man7.org/linux/man-pages/man1/man.1.html>.
|
||||
> Mais informações: <https://www.manned.org/man>.
|
||||
|
||||
- Exibe a página de manual de um comando:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Mostra / manipula roteamento, dispositivos, roteamento baseado em póliticas e túneis.
|
||||
> Alguns subcomandos como `ip address` têm suas pŕoprias documentações de uso.
|
||||
> Mais informações: <https://www.man7.org/linux/man-pages/man8/ip.8.html>.
|
||||
> Mais informações: <https://www.manned.org/ip.8>.
|
||||
|
||||
- Lista interfaces com informações detalhadas:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# man
|
||||
|
||||
> கையேடு பக்கங்களை வடிவமைத்து காட்டவும்.
|
||||
> மேலும் விவரத்திற்கு: <https://www.man7.org/linux/man-pages/man1/man.1.html>.
|
||||
> மேலும் விவரத்திற்கு: <https://www.manned.org/man>.
|
||||
|
||||
- ஒரு கட்டளைக்கான மேன் பக்கத்தைக் காண்பி:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# man
|
||||
|
||||
> Kılavuz sayfalarını biçimlendir ve göster.
|
||||
> Daha fazla bilgi için: <https://www.man7.org/linux/man-pages/man1/man.1.html>.
|
||||
> Daha fazla bilgi için: <https://www.manned.org/man>.
|
||||
|
||||
- Bir komut için man sayfasını görüntüle:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Yönlendirmeyi, aygıtları, kural yönlendirmesini ve tünelleri görüntüle / değiştir.
|
||||
> `ip address` gibi bazı alt komutların kendi kullanım belgeleri vardır.
|
||||
> Daha fazla bilgi için: <https://www.man7.org/linux/man-pages/man8/ip.8.html>.
|
||||
> Daha fazla bilgi için: <https://www.manned.org/ip.8>.
|
||||
|
||||
- Arayüzlerin bilgilerini ayrıntılı bir şekilde listele:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> 显示逻辑卷信息。
|
||||
> 另见:`lvm`.
|
||||
> 更多信息:<https://man7.org/linux/man-pages/man8/lvs.8.html>.
|
||||
> 更多信息:<https://manned.org/lvs>.
|
||||
|
||||
- 显示逻辑卷信息:
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
- 分割一个文件,每个分割部分有 10 行(除了最后一个):
|
||||
|
||||
`split -l {{10}} {{文件名}}`
|
||||
`split -l 10 {{路径/到/文件}}`
|
||||
|
||||
- 用正则表达式拆分文件。匹配行将是下一个输出文件的第一行:
|
||||
|
||||
`split -p {{cat|^[dh]og}} {{文件名}}`
|
||||
`split -p {{cat|^[dh]og}} {{路径/到/文件}}`
|
||||
|
||||
- 拆分一个文件,每个拆分中有 512 个字节(除了最后一个文件,使用 512K 表示 Kb,512M 表示 Mb):
|
||||
|
||||
`split -b {{512}} {{文件名}}`
|
||||
`split -b 512 {{路径/到/文件}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# man
|
||||
|
||||
> Format and display manual pages.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man1/man.1.html>.
|
||||
> More information: <https://www.manned.org/man>.
|
||||
|
||||
- Display the man page for a command:
|
||||
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
|
||||
`more {{path/to/file}}`
|
||||
|
||||
- Search case-[i]nsensitively when pressing "/":
|
||||
|
||||
`more -i {{path/to/file}}`
|
||||
|
||||
- Display a specific line:
|
||||
|
||||
`more +{{line_number}} {{path/to/file}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# pgrep
|
||||
|
||||
> Find or signal processes by name.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man1/pkill.1.html>.
|
||||
> More information: <https://www.manned.org/pgrep>.
|
||||
|
||||
- Return PIDs of any running processes with a matching command string:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Signal process by name.
|
||||
> Mostly used for stopping processes.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man1/pkill.1.html>.
|
||||
> More information: <https://www.manned.org/pkill>.
|
||||
|
||||
- Kill all processes which match:
|
||||
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
- Split a file, each split having 10 lines (except the last split):
|
||||
|
||||
`split -l {{10}} {{path/to/file}}`
|
||||
`split -l 10 {{path/to/file}}`
|
||||
|
||||
- Split a file into 5 files. File is split such that each split has same size (except the last split):
|
||||
|
||||
`split -n {{5}} {{path/to/file}}`
|
||||
`split -n 5 {{path/to/file}}`
|
||||
|
||||
- Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes):
|
||||
|
||||
`split -b {{512}} {{path/to/file}}`
|
||||
`split -b 512 {{path/to/file}}`
|
||||
|
||||
- Split a file with at most 512 bytes in each split without breaking lines:
|
||||
|
||||
`split -C {{512}} {{path/to/file}}`
|
||||
`split -C 512 {{path/to/file}}`
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
- Export query results to a specific file:
|
||||
|
||||
`{{prompt}}=> \g {{/path/to/results.txt}}`
|
||||
`{{prompt}}=> \g {{path/to/file_with_results}}`
|
||||
|
||||
- Import data from a CSV file into a specific table:
|
||||
|
||||
`{{prompt}}=> \copy {{/path/to/data.csv}} {{table_name}}`
|
||||
`{{prompt}}=> \copy {{path/to/data.csv}} {{table_name}}`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# ethtool
|
||||
|
||||
> Display and modify Network Interface Controller (NIC) parameters.
|
||||
> More information: <http://man7.org/linux/man-pages/man8/ethtool.8.html>.
|
||||
> More information: <http://manned.org/ethtool>.
|
||||
|
||||
- Display the current settings for an interface:
|
||||
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
# hyprpm
|
||||
|
||||
> Control plugins for the Hyprland Wayland compositor.
|
||||
> More information: <https://wiki.hyprland.org/Plugins/Using-Plugins/#hyprpm>.
|
||||
|
||||
- Add a plugin:
|
||||
|
||||
`hyprpm add {{git_url}}`
|
||||
|
||||
- Remove a plugin:
|
||||
|
||||
`hyprpm remove {{git_url|plugin_name}}`
|
||||
|
||||
- Enable a plugin:
|
||||
|
||||
`hyprpm enable {{plugin_name}}`
|
||||
|
||||
- Disable a plugin:
|
||||
|
||||
`hyprpm disable {{plugin_name}}`
|
||||
|
||||
- Update and check all plugins:
|
||||
|
||||
`hyprpm update`
|
||||
|
||||
- Force an operation:
|
||||
|
||||
`hyprpm {{-f|--force}} {{operation}}`
|
||||
|
||||
- List all installed plugins:
|
||||
|
||||
`hyprpm list`
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Show/manipulate routing, devices, policy routing and tunnels.
|
||||
> Some subcommands such as `ip address` have their own usage documentation.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man8/ip.8.html>.
|
||||
> More information: <https://www.manned.org/ip.8>.
|
||||
|
||||
- List interfaces with detailed info:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Create a logical volume in an existing volume group. A volume group is a collection of logical and physical volumes.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/lvcreate.8.html>.
|
||||
> More information: <https://manned.org/lvcreate>.
|
||||
|
||||
- Create a logical volume of 10 gigabytes in the volume group vg1:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Display information about Logical Volume Manager (LVM) logical volumes.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/lvdisplay.8.html>.
|
||||
> More information: <https://manned.org/lvdisplay>.
|
||||
|
||||
- Display information about all logical volumes:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# lvm
|
||||
|
||||
> Manage physical volumes, volume groups, and logical volumes using the Logical Volume Manager (LVM) interactive shell.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/lvm.8.html>.
|
||||
> More information: <https://manned.org/lvm>.
|
||||
|
||||
- Start the Logical Volume Manager interactive shell:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Reduce the size of a logical volume.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/lvreduce.8.html>.
|
||||
> More information: <https://manned.org/lvreduce>.
|
||||
|
||||
- Reduce a volume's size to 120 GB:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Change the size of a logical volume.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/lvresize.8.html>.
|
||||
> More information: <https://manned.org/lvresize>.
|
||||
|
||||
- Change the size of a logical volume to 120 GB:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Display information about logical volumes.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/lvs.8.html>.
|
||||
> More information: <https://manned.org/lvs>.
|
||||
|
||||
- Display information about logical volumes:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# mandb
|
||||
|
||||
> Manage the pre-formatted manual page database.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/mandb.8.html>.
|
||||
> More information: <https://manned.org/mandb>.
|
||||
|
||||
- Purge and process manual pages:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# numactl
|
||||
|
||||
> Control NUMA policy for processes or shared memory.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/numactl.8.html>.
|
||||
> More information: <https://manned.org/numactl>.
|
||||
|
||||
- Run a command on node 0 with memory allocated on node 0 and 1:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# partx
|
||||
|
||||
> Parse a partition table and tell the kernel about it.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/partx.8.html>.
|
||||
> More information: <https://manned.org/partx>.
|
||||
|
||||
- List the partitions on a block device or disk image:
|
||||
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
- Split a file, each split having 10 lines (except the last split):
|
||||
|
||||
`split -l {{10}} {{filename}}`
|
||||
`split -l 10 {{path/to/file}}`
|
||||
|
||||
- Split a file by a regular expression. The matching line will be the first line of the next output file:
|
||||
|
||||
`split -p {{cat|^[dh]og}} {{filename}}`
|
||||
`split -p {{cat|^[dh]og}} {{path/to/file}}`
|
||||
|
||||
- Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes):
|
||||
|
||||
`split -b {{512}} {{filename}}`
|
||||
`split -b 512 {{path/to/file}}`
|
||||
|
||||
- Split a file into 5 files. File is split such that each split has same size (except the last split):
|
||||
|
||||
`split -n {{5}} {{filename}}`
|
||||
`split -n 5 {{path/to/file}}`
|
||||
|
|
Loading…
Reference in New Issue