Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

is there any way how i can make a screenshot of CLI command "screen -r", then save it as .txt? And set it up as cron job so i can stream my "screen -r" command? Is there any way how i can stream my "screen -r" command?

I know how to set up cronjob.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Screen has a hardcopy feature, which saves the contents of the current window to a hardcopy.* file in the current directory. By default it's bound to Ctrl-A h.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.