Answer the question
In order to leave comments, you need to log in
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
sudo screen -d -m -S console name script -c "Command" -f /home/666.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question