Hello, I'd like to create a script that runs interactively, here is an example of implementation:
The user is in the current directory.
Once the script started:
- If the user types 1, he set up a directory
- If the user types 0, he returns in the current directory
- If the user types s, it ends the script
I know the read but I do not know how to use it to make the interactive script.