To capture text output, use "script". By default, the file will be called "typescript", but "script myfile" will use that name instead. Press CTRL-D when you are finished recording.
("script" applies to Terminal sessions)
Command-Shift-3 (whole screen) and Command-Shift-4 (portion of screen) will create "Picture x" (x is 1 to whatever). Because of better features and control, I prefer Skitch, though Voila has even more features.
Preview also offers screen capture - it's down at the bottom of the File menu.
For a movie of your screen actions, try Jing (also available for Windows).
To capture X screens, the "xwd" program is simple to use. Open an xterm, type "xwd > file" and (after pressing ENTER), just click on the window you want to capture. You can also specify a windo with "xwd -id wid", where "wid" is the resource id to be selected. The resulting file can be printed using "xpr" or manipulated by graphic programs like "Gimp" and others if you need to save it as .gif or some other format.
For KDE, there is KSnapshot and gnome-screenshot for Gnome. Both also recognize the PRT-SCRN key
To record screen actions on Linux, try RecordMyDesktop, a "desktop session recorder".
For a "user friendly" OS, Windows has had really awful screen capture in the past. You press PRT-SCRN, which appears to do nothing. You then have to open a program like Microsoft Paint, hit CTRL-V to paste in the shot, and then you can do whatever you want with it.
Vista and Win 7 have "Snipping Tool", which is supposedly much better (but I've never used it).
This Screenpresso looks good.
Tom Melvin contributed this:
No idea where I got this from, it's pretty old (Xenix days). Works only on the console.
: # Shell script to screen dump # This will only work at present on the main console oldstty=`stty -g` stty -echo ixon ixoff -ixany /bin/echo '\033[2i\c' head -25 > /tmp/screen.$$ stty $oldstty # Ok now output the file to the printer echo "\f" >>/tmp/screen.$$ lp /tmp/screen.$$ rm /tmp/screen.$$
Or get Chip Rosenthal's prtscrn from ftp.jpr.com
Jean Pierre Radley points out:
W/r to Melvin's comment about the escape sequence, man screen and see:
MC (Media Copy) CSI p1 i ps mc0
Causes all or part of the screen to
be sent to the pass-through printer.
Parameter p1 indicates how much of
the screen to send to the printer.
Currently, only p1=2 is supported,
which sends the entire screen
contents. Future versions of scoansi
may support other values.
If this page was useful to you, please click to help others find it:
Your +1's can help friends, contacts, and others on the web find the best stuff when they search.
More Articles by Anthony Lawrence - Find me on Google+
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar