I am writing a training tool, it is written in bash to teach bash/unix.
I want a script to run to set things up, then to hand control to the user.
I want it to be easily runnable by typing ./script-name
How do I do this?
I.E.
- User types:
tutorial/run
- The run-tutorial script sets things up.
- The user is presented with a task. (this bit works)
- The command prompt is returned, with the shell still configured.
Currently it will work if I type . tutorial/bashrc