Back to Developer Roadmap

Read User Input

src/data/roadmaps/shell-bash/content/read-user-input@o2vQXl9WDOO4NAsLjYv_4.md

4.0754 B
Original Source

Read User Input

Reading user input in a shell script allows the script to interact with the person running it. This is achieved by pausing the script's execution and waiting for the user to type something and press Enter. The entered text can then be stored in a variable and used later in the script for various purposes, such as making decisions or providing customized output.

Visit the following resources to learn more: