I have a 2 TB file which I compressed using bzip2. This file lives in a Raspberry Pi NAS. How did I compress it? I must have sent it across the network for storage in this NAS; something like this: … Sigue leyendo
Archivo de la categoría: Código
Esta publicación corresponde a una respuesta que he dado via chat en el grupo de ayuda PosgreSQL en Español en Telegram. Un usuario tiene una tabla con dos columnas: tipo_objeto e id_objeto. Los objetos se almacenan en otras tablas, pero la tabla en la cual … Sigue leyendo
I invite you to try Poda. I made this to find similar directories among multiple storage locations (or hampers as I call them in the program). The typical use case is to find out whether I find whether I have … Sigue leyendo
Si uno teclea líneas a la entrada estándar desde el teclado, ésta se va procesando línea por línea: $ cat -n hola 1 hola mundo 2 mundo maravilloso 3 maravilloso ^D $ Así, resulta impráctico marcar la salida usando el ratón … Sigue leyendo
Este script sirve para buscar en los logs de Postfix 2.9.6 la historia de entrega de los correos que cumplan con el from= y el to= que se indiquen en el primer y segundo argumento del script, respectivamente. #!/bin/bash # Configuration variables REQUIREMENTS=»gawk grep» … Sigue leyendo