Question: Part 2 : Chapter 1 4 , User Input ( 3 ) Type in and run the following scripts from the text, chapter 1 4

Part 2: Chapter 14, User Input (3)
Type in and run the following scripts from the text, chapter 14:
Test22:
\#!/bin/bash
\# testing the read -p option
"
days=\$(\$age *365]
\# echo "That makes you over \$days days old!"
Output of test22:
\$ ./test22.sh
Please enter your age: 10
That makes you over 3650 days old!
Test24:
\#!/bin/bash
\# Testing the RBPLY Environment variable
\#
read -p "Enter your name: "
echo
echo Hello \$RBPLY, welcome to my program.
Output of test24:
\$ ./test24.sh
Enter your name: Christine
Hello Christine, welcome to my program.
Test26:
Part 2 : Chapter 1 4 , User Input ( 3 ) Type in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!