Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
image text in transcribed
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

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 Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago