Ver Mensaje Individual
  #7 (permalink)  
Antiguo 12/02/2008, 07:22
Avatar de _Lucifer_
_Lucifer_
 
Fecha de Ingreso: junio-2006
Mensajes: 1.662
Antigüedad: 17 años, 11 meses
Puntos: 28
Re: recuperar pantalla anteriores desde SSH

Si quieres ver la ayuda del comando que te comentó Koveart:
Código:
$ man script
Si no lo tienes instalado instalalo de los repositorios.

Las opciones mas comunes son -c y -a:

Cita:
Options:

-a Append the output to file or typescript, retaining the prior con‐
tents.

-c COMMAND
Run the COMMAND rather than an interactive shell. This makes it
easy for a script to capture the output of a program that behaves
differently when its stdout is not a tty.
A mi me sirvió para capturar la salida de unos programas que no enviaban a la stdout y no podia usar el ">>" para enviar al archivo. Espero te sirva de ayuda.

Saludos
__________________
Si crees que no tiene sentido, etonces probablemente lo tenga... :arriba:

Última edición por _Lucifer_; 12/02/2008 a las 07:23 Razón: correcciones