Question: help please Class 6 Exercises (env_vars_hw) Try to explain each of following scenarios: 1. User types: X=10 echo x System: x What happened and why?

help please
help please Class 6 Exercises (env_vars_hw) Try to explain each of following
scenarios: 1. User types: X=10 echo x System: x What happened and

Class 6 Exercises (env_vars_hw) Try to explain each of following scenarios: 1. User types: X=10 echo x System: x What happened and why? 2. User types: x=10 echo 5x System: 10 User: ksh echo $X System: What happened and why? 3. User types: X=10 export x echo $x System: 10 User: ksh echo $X System: ??? 4. User types: vi file1 VARI YYES export VAR1 w wa (exit from vi) chmod 755 filel file.1 echo SVAR1 Class 6 Exercises (env_vars_hw) System: What happened and why? 5. User types: sh VER=MS5OexportVERecho$VER System: MSSO User: exit echo \$VER System: What happened and why? 6. User types: VAR 1=10 VAR2=20echo"VAR1=$$VAR1,VAR2=$SAR2" System: VAR1 =10, VAR2 =20 User: vi prg1 echo "VAR1 = \$VAR1, VAR2 = \$VAR2" iwq chmod (change protection to allow execution) prg 1 System: VAR 1=, VAR2 = What happened and why

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!