Question: Login to a shell or launch your shell program. 1. Create a local variable named MYVAR with a value of somevalue. Q1: What is the

Login to a shell or launch your shell program. 1. Create a local variable named MYVAR with a value of somevalue. Q1: What is the exact command you use? Q2: How can you confirm the value of your local variable? 2. Launch a subshell (just type bash). Check the value of your variable. Q3: Does the variable exist? If so, why? If not, why not? 3. Exit the subshell. Export the variable. Q4: What is the exact command you use? 4. Launch a subshell. Check the value of the variable now. Q5: Does the variable exist now?

5. Use the cat command in interactive mode to create a grocery.list file. Use any combination of fruits and veggies to get seven (7) lines

Q6: what key combination do you type to exit interactive mode (i.e., signal end-of-file)? Q7: what is the full command syntax would you use with cat to append to our grocery.list? Use that full command to add three more fruits and/or vegetables to the grocery.list

6. Using the translate command (tr), how would you: Q8: translate all lowercase characters to uppercase Q9: delete all vowels? Q10: delete only one specific fruit or vegetable (your choice)?

7. We can also remove columns from objects using the colrm command. How would you: Q11: print out only the first letter of each line? Q12: print out everything except letters 3 - 5?

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!