S
S
Schoolboy.2015-10-25 13:52:48
linux
Schoolboy., 2015-10-25 13:52:48

How to get virtual console output?

How to get console output to a file? Found - screen -S session_name -X hardcopy kuku.txt, but it writes everything in one line, also found the command - script, but it writes output after executing the exit command.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Schoolboy., 2015-10-25
@viphorizon

sudo screen -d -m -S console name script -c "Command" -f /home/666.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question