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/03/13 14:17] – [Listar bibliotecas requeridas por un ejecutable] javi | informatica:linux:comandes [2024/06/04 11:15] (current) – [History] jose | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== sshfs ====== | ||
+ | mount ssh | ||
+ | apt-get install sshfs | ||
+ | |||
+ | Montar para usuario normal | ||
+ | sshfs root@192.168.1.2:/ | ||
+ | |||
====== SFTP ====== | ====== SFTP ====== | ||
Line 50: | 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 90: | 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 141: | Line 156: | ||
egrep ' | egrep ' | ||
+ | |||
+ | * Poner color grep grepcolor. Lo ponemos en el / | ||
+ | alias grep=' | ||
====== Sintaxis bash ====== | ====== Sintaxis bash ====== | ||
Line 279: | 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 294: | 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 381: | Line 401: | ||
libcrypt.so.1 => / | libcrypt.so.1 => / | ||
</ | </ | ||
+ | |||
+ | ====== Comandos relacionados con DNS ====== | ||
+ | |||
+ | * Encontrar servidores " | ||
+ | < | ||
+ | dig +short NS stackoverflow.com | ||
+ | </ | ||
+ | o: | ||
+ | < | ||
+ | dig +nssearch stackoverflow.com | ||
+ | </ | ||
+ | |||
+ | ====== Generar una cadena de texto con el contenido de un archivo ====== | ||
+ | |||
+ | Encriptar: | ||
+ | |||
+ | cat .ssh/ | ||
+ | |||
+ | Desencriptar: | ||
+ | |||
+ | cat .ssh/ | ||
informatica/linux/comandes.1426256251.txt.gz · Last modified: 2015/04/13 20:19 (external edit)