Skip to Content
Learn Red ? Fundamentals of Red
book

Learn Red ? Fundamentals of Red

by Ivo Balbaert
May 2018
Beginner content levelBeginner
252 pages
6h 19m
English
Packt Publishing
Content preview from Learn Red ? Fundamentals of Red

Saving and loading the console history

Sometimes, when you have tried things out in the console, you will like to keep a file trace of what you have experimented with, perhaps to save portions of it later in a source file. This can be done with the following simple console command:

save %history system/console/history

Here, history is just the file you want to store them in (this could be any other name).

From Version 0.6.4 onward, the history command is preserved between sessions, but if you would like to start a session with an older file with commands, you can retrieve the history like this:

system/console/history: load %history
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

How I Built a Personal Board of Directors With GenAI

How I Built a Personal Board of Directors With GenAI

Vipin Gupta
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally
Why AI Demands a New Breed of Leaders

Why AI Demands a New Breed of Leaders

Faisal Hoque, Thomas Davenport, Erik Nelson

Publisher Resources

ISBN: 9781789130706Supplemental Content