Question: Question 1. A shell script is: (Choose all that apply.) a. a running instance of a command. b. used to automate tasks. c. a text

Question 1. A shell script is: (Choose all that apply.)

a. a running instance of a command.

b. used to automate tasks.

c. a text editor like vim.

d. can be run as a command.

e. a group of commands, functions, and variables, etc. that can be used from a shell.

Question 2. What must be done prior to running a script (e.g. MyNewScript) as if it were to be executed as a program?

Question 3. What are the differences between the following vim commands?

a. a and A

b. o and O

c. i and I

Question 4. Write a shell script to output the users identity, the current date/timestamp, and a list of current aliases and environment variables. [Show your script and the results of running it. Remember to comment your work]

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!