Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How to take a screenshot of linux console without x windows through SSH or capture command output to image or HTML file?

Avatar of keith_opswat
keith_opswatFlag for United States of America asked on
Unix OSSSH / Telnet SoftwareIT Administration
4 Comments1 Solution1694 ViewsLast Modified:
Hello all!! I was hoping that someone here could help teach me how to take a screenshot of my linux console if I don't have an X-Windows installed. I just have a few commands I want it to capture the output either in an image file or input it to an html file. It would be best if I could run this in a cron job but I'm just not sure how. I tried to use import through ImageMagick but it gives me an x11 error which I'm quite sure is related to that I don't have  a GUI installed.

Any help would be appreciated.I installed scrot but not sure how ot use it or if I installed it right.

Thanks a lot in advance!!!

Also, just an FYI I'm running Centos 5.5 x86_64
ASKER CERTIFIED SOLUTION
Avatar of arnold
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers