Exam 7: Working With the Bash Shell
Exam 1: Introduction to Linux45 Questions
Exam 2: Linux Installation and Usage45 Questions
Exam 3: Exploring Linux Filesystems45 Questions
Exam 4: Linux Filesystem Management45 Questions
Exam 5: Linux Filesystem Administration45 Questions
Exam 6: Advanced Installation45 Questions
Exam 7: Working With the Bash Shell45 Questions
Exam 8: System Initialization and X Windows45 Questions
Exam 9: Managing Linux Processes45 Questions
Exam 10: Common Administrative Tasks45 Questions
Exam 11: Compression, System Backup, and Software Installation45 Questions
Exam 12: Network Configuration45 Questions
Exam 13: Configuring Network Services45 Questions
Exam 14: Troubleshooting, Performance, and Security45 Questions
Select questions type
Users can create their own custom variables, called shell variables. _________________________
Free
(True/False)
4.8/5
(32)
Correct Answer:
False
In a decision construct, you can have an unlimited number of if then statements. _________________________
Free
(True/False)
4.9/5
(46)
Correct Answer:
False
What are shell variables? What are environment and user-defined variables?
Free
(Essay)
4.8/5
(36)
Correct Answer:
A BASH shell has several variables in memory at any one time. Recall that a variable is simply a reserved portion of memory containing information that might be accessed. Most variables in the shell are referred to as environment variables because they are typically set by the system and contain information that the system and programs access regularly. Users can also create their own custom variables. These variables are called user-defined variables. In addition to these two types of variables, special variables are available that are useful when executing commands and creating new files and directories.
The ____ command could be used to view the contents of the environment variable that represents the BASH shell prompt.
(Multiple Choice)
4.8/5
(38)
The ____ command counts the number of lines, words, and characters in a file.
(Multiple Choice)
4.8/5
(32)
The ____________________ environment variable contains a list of directories to search for executable programs.
(Short Answer)
4.8/5
(28)
Most configuration files on Linux systems are delimited using ____ characters.
(Multiple Choice)
4.8/5
(42)
Match each term with the correct statement below.
-Constructs that alter the flow of a program based on whether a command in the program completed successfully or based on a decision that the user makes given a question posed by the program.
(Multiple Choice)
5.0/5
(36)
The test statement ____ would be used to determine if A is numerically greater than B.
(Multiple Choice)
4.8/5
(31)
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.8/5
(30)
The ____ command can be used to extract, manipulate, and format text using pattern-action statements.
(Multiple Choice)
4.9/5
(38)
Match each term with the correct statement below.
-The information that is processed by the command during execution.
(Multiple Choice)
4.8/5
(36)
If you have ____ permission to a shell script, you can execute the shell script like any other executable program on the system.
(Multiple Choice)
4.8/5
(33)
What is a decision construct? What is the most common type of decision construct, and what is the syntax for using it?
(Essay)
4.7/5
(38)
You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.
(True/False)
4.9/5
(34)
Showing 1 - 20 of 45
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)