informatica:linux:comandes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:comandes [2015/08/17 09:33] – javi | informatica:linux:comandes [2024/06/04 11:15] (current) – [History] jose | ||
---|---|---|---|
Line 57: | Line 57: | ||
#screen -S titulo | #screen -S titulo | ||
- | Recuperar | + | Recuperar sesión |
+ | screen -r titulo | ||
+ | |||
+ | Si está atachada, al poner -R mayúscula crea una nueva con el mismo nombre: | ||
screen -R titulo | screen -R titulo | ||
Line 97: | Line 100: | ||
# screen -x usuariAmbScreen/ | # screen -x usuariAmbScreen/ | ||
+ | |||
+ | ===== Hacer Scroll ===== | ||
+ | Con screen no nos podemos hacer scroll en la ventana, con la rueda del ratón por ejemplo. | ||
+ | |||
+ | Se hace pulsando ctrl+a, luego esc y nos movemos con los cursores como si fuera un fichero de texto | ||
====== Eliminar pitido shell ====== | ====== Eliminar pitido shell ====== | ||
Line 148: | Line 156: | ||
egrep ' | egrep ' | ||
+ | |||
+ | * Poner color grep grepcolor. Lo ponemos en el / | ||
+ | alias grep=' | ||
====== Sintaxis bash ====== | ====== Sintaxis bash ====== | ||
Line 286: | Line 297: | ||
Then try rebuilding the dynamic linking cache with sudo ldconfig prior to building pyzmq. | Then try rebuilding the dynamic linking cache with sudo ldconfig prior to building pyzmq. | ||
- | ====== | + | ====== |
Introducir fecha y hora en el comando " | Introducir fecha y hora en el comando " | ||
Line 301: | Line 312: | ||
echo ' | echo ' | ||
exit | exit | ||
- | | + | |
- | Poner color grep grepcolor. Lo ponemos en el / | + | Historía infinita sin límite de entradas. Suele venir limitado y no ves los comandos de hace muuuucho tiempo |
- | alias grep=' | + | |
+ | HISTFILESIZE=-1 | ||
====== Archivos ====== | ====== Archivos ====== | ||
Line 399: | Line 412: | ||
dig +nssearch stackoverflow.com | dig +nssearch stackoverflow.com | ||
</ | </ | ||
+ | |||
+ | ====== Generar una cadena de texto con el contenido de un archivo ====== | ||
+ | |||
+ | Encriptar: | ||
+ | |||
+ | cat .ssh/ | ||
+ | |||
+ | Desencriptar: | ||
+ | |||
+ | cat .ssh/ | ||
informatica/linux/comandes.1439804015.txt.gz · Last modified: 2015/08/17 09:33 by javi