Este contenido no está disponible en el idioma seleccionado
Trabajamos constantemente para que el contenido esté disponible en el idioma seleccionado. Gracias por tu paciencia.
How can I record my Linux terminal session in text mode and share or replay it later?
2 minutos de lectura
0
I want to record my Amazon Elastic Compute Cloud (Amazon EC2) Linux terminal session or SSH session in text mode. Then, I want to share it or replay it.
Short description
You can record your SSH or terminal session to a file using the script command. If you need help, you can run the man script command to access the user manual.
Note: The Linux commands script and scriptreplay come pre-installed by default, so you don't need to install them separately. To reinstall them, run one of the following commands, depending on your operating system:
Ubuntu 18 and Ubuntu 20
sudo apt install bsdutils
RHEL 7, RHEL 8, Amazon Linux 1, Amazon Linux 2, and Amazon Linux 2023