Echo a large chunk of text to a file using Bash

Viewed 57384

I need to run a Bash script that can echo a 300 lines of Groovy script to a tmp file. What's the best way to do it ?

My current workaround is putting the script file online and download it.

3 Answers
Related