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
Get step-by-step solutions from verified subject matter experts
