Copy Julia REPL to a txt file

Hi,

How can I copy the printed outputs on my REPL on txt file?

I read the documentation but it is not clear to me.

Thanks

1 Like

If you’re on linux, you should be able to just redirect the output of your script to a file in bash, e.g. julia myscript.jl > output.txt

2 Likes

Sadly I am running Julia on Windows, not on a Unix-based machine :frowning:

I ended up using this package GitHub - jacob-roth/PrintLog.jl: An incredibly simple logger! All it does is to log all outputs of `print` and `println` into a file.