Question: Create a command - line shell program like bash or Powershell. Have a prompt, example below. Reads from input, writes to output. until quit or
Create a commandline shell program like bash or Powershell. Have a prompt, example below.
Reads from input, writes to output. until "quit" or "exit".
Implement cd and pwddirectly cd must take a full or relative path.
Implement the setting, deleting unsetting and getting of xsh environment vars:
xsh# set FOO banana
xsh# echo My favorite fruit is a $FOO.
My favorite fruit is a banana.
xsh# unset FOO
xsh# echo Id love to eat a $FOO colored slug.
Id love to eat a colored slug.
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
