The export from the previous step is gone after the next login. Making the setting last is up to you, with no ready commands.
The exercise check starts a new shell with a clean environment, as if you had just logged in to the machine, and it does not see an export made in this terminal. Mind the quotes: the line in the file must keep $HOME and $PATH themselves, so a new shell fills in their values when it starts.
Add ~/tools to PATH for good
Make every new shell find the lab-status command by its short name, while ls, cp and the other commands work as before.
Goals · 0 of 2
- Add ~/tools to the PATH of new shells not done yet
- Keep the old directories in PATH not done yet