Add a line that starts with #! (Sobell, page 297) to the beginning of short to make sure it is executed by bash.

What will be an ideal response?


$ cat short
#!/bin/bash
echo 'hi there'

Computer Science & Information Technology

You might also like to view...

When the interpreter switches the thread back in, that thread continues executing from_________ .

a) the point at which it was switched out of the interpreter. b) the beginning of the run method. c) the beginning of the constructor. d) None of the above.

Computer Science & Information Technology

An analyst may develop the data flow diagram using a top-down method by using:

A) algebraic notation. B) structural records. C) algebraic notation and structural records. D) vertical expansion methodology.

Computer Science & Information Technology

The XCOPY command can be used in place of COPY in most instances and operates as a backup utility

Indicate whether the statement is true or false

Computer Science & Information Technology

The transform controls are also called the ____ handles.

a. selection b. indexing c. baseline d. change

Computer Science & Information Technology