Exam 8: Working With the Bash Shell

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

The test statement ____ would be used to determine if A is numerically greater than B.

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

C

stdin is represented by the number ____.

Free
(Multiple Choice)
4.9/5
(33)
Correct Answer:
Verified

A

To see a list of the environment variables and their current values on a system, you can use the ____ command.

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

C

The ____________________ environment variable contains a list of directories to search for executable programs.

(Short Answer)
4.9/5
(35)

The ____ escape sequence represents a form feed.

(Multiple Choice)
5.0/5
(26)

Given the syntax command && command , the command on the left of the && construct is executed only if the command on the right of the && construct completed successfully.

(True/False)
4.7/5
(41)

stderr is represented by the number ____.

(Multiple Choice)
4.9/5
(39)

What are shell scripts? Why and how are they executed?

(Essay)
4.8/5
(38)

To see a list of all exported environment and user-defined variables in the shell, you can use the ____ command.

(Multiple Choice)
4.8/5
(45)

Any command that can take from Standard Input and give to Standard Output is called a(n)____________________ command.

(Short Answer)
4.7/5
(32)

Most commands that are run by the shell are run in a separate ____________________, which is created by the current shell.

(Short Answer)
4.8/5
(36)

You can redirect a file to the Standard Input of a command using the ____ metacharacter.

(Multiple Choice)
4.7/5
(38)

The ____ command counts the number of lines, words, and characters in a file.

(Multiple Choice)
4.9/5
(39)

Any command that can be executed on the command line can also be placed inside any environment file.

(True/False)
4.7/5
(41)

You can send the Standard Output of one command to another command as Standard Input using the ____ shell metacharacter.

(Multiple Choice)
4.7/5
(27)

What are file descriptors? What are the three file descriptors are available to each command that can be manipulated by the BASH shell, and what is the purpose of each?

(Essay)
4.9/5
(36)

The ____ command could be used to view the contents of the environment variable that represents the BASH shell prompt.

(Multiple Choice)
4.8/5
(40)

What is a decision construct? What is the most common type of decision construct, and what is the syntax for using it?

(Essay)
4.8/5
(37)

The ____ command can be used to extract, manipulate, and format text using pattern-action statements.

(Multiple Choice)
4.8/5
(35)

To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three > metacharacters alongside the file descriptor.

(True/False)
4.8/5
(39)
Showing 1 - 20 of 32
close modal

Filters

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