diff --git a/01-read_input.sh b/01-read_input.sh index 438445b4..d5464c3a 100644 --- a/01-read_input.sh +++ b/01-read_input.sh @@ -10,3 +10,14 @@ echo 'Your name was stored in $name' # exercise: write a script that asks the user for a # filename and create an empty file named after it +echo "Type in the file name in the command" +read filename +echo "$filename is now created!" +#Reading the user's favorite movie +echo "What's your favorite movie?" +read favMovie +echo "$favMovie is a good one!" +#Reading the user's favorite movie +echo "What's your favorite album? +read favAlbum +echo "$favAlbum is fantastic!"