Question: Write the following scripts in Linux and execute them. Explain what you observe in each case. # ! / bin / bash read - p

Write the following scripts in Linux and execute them. Explain what you observe in each case.
#!/bin/bash
read -p "Enter First Name: " name_var
echo "First Name is $name_var"
#!/bin/bash
read -s -p "Password: " password
echo "Your password is $password"
#!/bin/bash
echo What courses are you enrolled in?
read course 1 course 2 course 3
echo Your first course was: $ course1
echo Your second course was: $ course 2
echo Your third course was: $ course 3
Write a script to create a temporary directory and set permissions for the directory such that the user has rwx, group -r-x, and others -r-x.
Write the following commands in a script and see if they work:
list=$(Is)
echo $list
Show the use of semi colon; by executing multiple commands at the same time.
Explain what you observe.
Show the difference between the use of double quotes "" and single quotes ' in bash. Explain what you observe.
 Write the following scripts in Linux and execute them. Explain what

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 Databases Questions!