Saving output to a file and viewing it in real-time

Use the UNIX "tee" command save to a file and still display to the screen at the same time. The 2>&1 argument saves both the stdout and stderr to your output file. You might not notice any difference unless you have an error in your run.

$ ../animal-oprof -i input.i | tee my_output.txt 2>&1

Displaying an output with terminal color codes

Use the UNIX "less" command with the option -R to interpret color codes when viewing a typical MOOSE console output file

$ less -R my_output.txt

Avoiding color in the first place

Use the MOOSE flag --no-color to display monochrome output on your screen

 $ ../animal-oprof -i input --no-color
Current rating: 4


assignment writing company 5 months, 4 weeks ago

I was searching for something like this for quite a long time and at last I’ve found it on your blog. Thanks

Link | Reply
Currently unrated

jvzoo academy review 4 months, 1 week ago

I amazed to read your topic, It was so impressive and helpful for me.

Link | Reply
Currently unrated

Mark 3 days, 20 hours ago

Unix based systems are so 1970.

Link | Reply
Currently unrated

New Comment


required (not published)


R&D 100

Recent Blog Posts

Using our new clang-format Style

6 months, 2 weeks ago

Steady State Algorithm Change

1 year, 3 months ago

Making an App inherit from an App

1 year, 4 months ago

Changing a published API (Deprecation)

1 year, 4 months ago

DiscreteMaterial Objects

1 year, 6 months ago

Recent Posts






RSS / Atom