Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

LOGIN to foxr account Student foxr zappaf 1. Variables store values. Environment variables are variables defined by a script but the user can also define

image text in transcribed
LOGIN to foxr account Student foxr zappaf 1. Variables store values. Environment variables are variables defined by a script but the user can also define them. To output all environment variables, enterthe env command. of these variables? PWD, HOME, USER, HOST, PS a. What are the values of each b. To create a variable, type name value where name is the variable name and value is the value you want to store there. The value should either be a string, in which case it can contain any characters desired, or an integer. If you use a string which contains any spaces, enclose the string in either orWe will use at least for now. Establish two variables, FIRST and LAST to store your first and last names. What commands did you enter? c. To output the value of a variable, use echo SVARNAME as in echo $HOME or echo FIRST. Write a single echo statement to output the values stored in FIRST and LAST What command did you use? Ifa blank space did not appear between the two names, how would you ensure that the output had a space between the first and last names? What echo command would you use to output your first, last names, user name, and your home directory d

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Theory Icdt 99 7th International Conference Jerusalem Israel January 10 12 1999 Proceedings Lncs 1540

Authors: Catriel Beeri ,Peter Buneman

1st Edition

3540654526, 978-3540654520

More Books

Students also viewed these Databases questions