2

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.

  • 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
  • @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
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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