The till program reads the variable TILL_MODE from its environment. Use bash -c as a stand-in for the till program, to see what a child gets.
Something unclear, wrong or missing?
Terminallearner@tidepool · simulated Linux machine · seed 1tzej6m
Default · in usePhosphor · reach level 2 to unlock a themeAmber · reach level 2 to unlock a themeSynthwave · reach level 2 to unlock a themeArctic · reach level 2 to unlock a theme
0:00Reset lab (rebuilds the machine)
Objective 1 of 30/3 done
Export a variable
Set TILL_MODE to training, and put it in the environment.
Export a variable
Set TILL_MODE to training, and put it in the environment.
The child gets it
Run bash -c 'echo $TILL_MODE'.
For one command only
Run TILL_MODE=live printenv TILL_MODE. Then run echo $TILL_MODE in your shell.