Exam 5: Creating Shell Scripts and Displaying File Contents
Exam 1: Introduction to the Linux Operating System50 Questions
Exam 2: Installing Opensuse49 Questions
Exam 3: Managing Files and Directories50 Questions
Exam 4: Creating and Editing Files With Text Editors49 Questions
Exam 5: Creating Shell Scripts and Displaying File Contents48 Questions
Exam 6: Managing Data: Backup and Recovery Processes50 Questions
Exam 7: Managing Users and Groups49 Questions
Exam 8: Network Communications47 Questions
Exam 9: Installing Software Packages50 Questions
Exam 10: Apache Web Server50 Questions
Exam 11: Domain Name System50 Questions
Exam 12: Configuring a Mail Server50 Questions
Exam 13: Working With the Network File System50 Questions
Exam 14: Planning for a Linux Installation49 Questions
Exam 15: Linux File System Management and Administration50 Questions
Exam 16: Managing Resources in Linux50 Questions
Exam 17: Networking in a Linux Environment50 Questions
Exam 18: Using Samba for Interoperating Linux and Windows50 Questions
Exam 19: Securing Linux50 Questions
Exam 20: Advanced Linux Administration50 Questions
Select questions type
Which variable assignment method would you use to specify a variable's value in a script command?
Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
B
Match each statement with an item
-Starts the condition being tested.
Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
A
____ consists of binary ones and zeros.
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
D
After creating a shell script and assigning execute permissions, how do you define its stored location and why must you do this?
(Essay)
5.0/5
(33)
Match each statement with an item
-Indicates the beginning of the code to be repeated.
(Multiple Choice)
4.9/5
(44)
Why should you give only read and write permission to a file that is not a program?
(Essay)
4.8/5
(38)
With a(n) ____________________ program, the source code is converted to machine code, line by line, as the user runs the script.
(Short Answer)
5.0/5
(34)
Which command removes write and execute permissions for the other category on file4?
(Multiple Choice)
5.0/5
(37)
A(n) ____________________ is a set of rules for instructing a computer how to perform specific tasks.
(Short Answer)
4.8/5
(40)
Match each statement with an item
-Starts the portion of code specifying what to do if the condition evaluates to true.
(Multiple Choice)
4.8/5
(33)
How do you combine the else and if statements? Why is this advantageous?
(Essay)
4.8/5
(38)
Which command displays a file's contents one screen at a time?
(Multiple Choice)
4.9/5
(44)
The cat command is usually used to display the contents of a ____.
(Multiple Choice)
4.7/5
(32)
Match each statement with an item
-A loop statement that causes the interpreter to continue executing the code in the until loop portion of the script as long as the condition is false.
(Multiple Choice)
4.8/5
(43)
Which command will display the exit status code on the screen?
(Multiple Choice)
4.9/5
(52)
When you quit a program or a command, a numeric code called a(n) ____________________ is sent to the shell.
(Short Answer)
5.0/5
(30)
____________________ is used to perform a set of commands repeatedly.
(Short Answer)
4.9/5
(30)
You can use condition statements to create menu scripts that allow users to choose from a list of options.
(True/False)
4.8/5
(47)
Showing 1 - 20 of 48
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)