Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 466 Bytes

File metadata and controls

15 lines (10 loc) · 466 Bytes

Read Inputs

In this section, lets take a look at prompting for inputs in a shell script

To prompt the user for input, use the read statement followed by adding a prompt with -p option.

$ read -p "Enter mission name:" mission_name

ri

When to use Command Line Arguments and Read Inputs ?

cla-ri