Question: At the command prompt, type echo You have $ 4 . 5 0 and press Enter. What is displayed? Why? Which character needs to be

At the command prompt, type echo You have $4.50 and press Enter. What is displayed? Why? Which character needs to be protected in the previous command? What are two different ways that you can protect this character from interpretation by the shell?
9
At the command prompt, type echo 'You have $4.50' and press Enter. What is displayed on the terminal screen? Did the single quotation marks protect this metacharacter from shell interpretation?
10
At the command prompt, type echo "You have $4.50" and press Enter. What is displayed on the terminal screen? Did the double quotation marks protect this metacharacter from shell interpretation?
11
At the command prompt, type echo You have $4.50 and press Enter. What is displayed on the terminal screen? Did the backslash protect this metacharacter from shell interpretation?
12
At the command prompt, type echo My name is `whoami` and press Enter. What function do back quotes perform?
13
Type exit and press Enter to log out of your shell.

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!