Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I used Terminal on Mac to do some bioinformatics analysis. I'd like to save all my input and output as PDF. I could do it using

Shell ==> Print Selection ==> PDF ==> Save As PDF

or

Shell ==> Export Selected Text As ....

Since my output has many pages (more than 300 pages), the default printer would save only the first 224 pages as PDF.

So, I was wondering if could revise some settings and save all my 300 pages text as PDF.

share|improve this question
    
And "Export as text" (cmd-S) first into a file and print the file (maybe after splitting or editing it) doesn't helps? –  jm666 Jul 16 '13 at 9:27
    
What you need isn't in .bash_history? –  Raystafarian Jul 16 '13 at 10:28
    
@jm666 Yes, good idea. Thanks. –  lzsph Jul 16 '13 at 12:43
    
@Raystafarian Because .bash_history just gives me the input command lines, I'd like to save both the input and output. –  lzsph Jul 16 '13 at 12:45
    
Would it be ok to loose the SDTERR output? –  Samoth Jul 17 '13 at 8:19
add comment

1 Answer

If you still have this terminal open, you can

  1. Press +a to select all the text in the window
  2. +c to copy it
  3. open text edit
  4. +p to paste in all the text you copied

Then use print + save as pdf from there

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.