Exam 6: Introduction to Shell Script Programming

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Logic structures supported by shell scripts include: sequential logic,decision logic,looping logic,and ____________________ logic.

Free
(Short Answer)
4.8/5
(33)
Correct Answer:
Verified

case

Logic structures are also called ____ structures.

Free
(Multiple Choice)
4.8/5
(23)
Correct Answer:
Verified

C

What is looping logic?

Free
(Essay)
4.9/5
(35)
Correct Answer:
Verified

In looping logic,a control structure (or loop)repeats until a specific condition exists or some action occurs.

A ____ is a name consisting of letters,numbers,or characters and is used to reference the contents of a variable.

(Multiple Choice)
4.8/5
(34)

With no options,____ displays the current listing of Bash environment and shell script variables.

(Multiple Choice)
4.8/5
(29)

____________________ are text files that contain sequences of UNIX-Linux commands.

(Short Answer)
4.7/5
(41)

____ variables are those you create at the command line or in a shell script.

(Multiple Choice)
4.8/5
(31)

The ____________________ variable provides a list of directory locations where UNIX or Linux looks to find executable scripts or programs.

(Short Answer)
4.9/5
(37)

What is a glob pattern?

(Essay)
4.8/5
(31)

What is a prototype?

(Essay)
4.9/5
(32)

To reference a variable,you use a dollar sign ($)in front of it or enclose it in ____.

(Multiple Choice)
4.9/5
(34)

Match each item with a statement below. -environment variable that holds the path name of the program for the type of shell you are using

(Multiple Choice)
4.9/5
(33)

The ____ command enables you to initialize the terminal display or terminal window,to place text and prompts in desired locations,and to respond to what the user selects from the menu.

(Multiple Choice)
5.0/5
(30)

Shell scripts can automatically access variables created and assigned on the command line.

(True/False)
4.9/5
(38)

In shell scripts,comment lines begin with a(n)____.

(Multiple Choice)
4.9/5
(30)

The ____________________ shell is similar to the Bash shell in many respects,but has syntax similar to that of C programming.

(Short Answer)
4.7/5
(43)

____ gives the owner read,write,and execute permissions.

(Multiple Choice)
4.8/5
(30)

You use the ____________________ command to loop through a range of values.

(Short Answer)
4.8/5
(36)

Shell scripts run more quickly than compiled programs.

(True/False)
4.8/5
(22)

What is a branch instruction?

(Essay)
4.8/5
(29)
Showing 1 - 20 of 55
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)