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.
#binbash
read p "Enter First Name: namevar
echo "First Name is $namevar"
#binbash
read s p "Password: password
echo "Your password is $password"
#binbash
echo What courses are you enrolled in
read course course course
echo Your first course was: $ course
echo Your second course was: $ course
echo Your third course was: $ course
Write a script to create a temporary directory and set permissions for the directory such that the user has group and others
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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
