Question: At the command prompt, type echo $MYVAR and press Enter to list the contents of the MYVAR variable. What is listed and why? At the

At the command prompt, type echo $MYVAR and press Enter to list the contents of the MYVAR variable. What is listed and why?

At the command prompt, type alias asample="cd /etc ; cat hosts ; cd ~ ; ls F" and press Enter. What does this command do?

At the command prompt, type asample and press Enter. What happened and why? What environment file could you add this alias to such that it is executed each time a new BASH shell is created?

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!