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 command can be used to display a text file's contents in reverse order and why might a user want to do this?
(Essay)
5.0/5
(41)
Match each statement with an item
-A loop statement that tests a condition in much the same way as if-then statements.
(Multiple Choice)
4.9/5
(38)
When you run the scr1 script using the ./scr1 command, the filename is considered position zero in the command, and the text ./scr1 becomes the value of the ____ variable.
(Multiple Choice)
4.7/5
(45)
Which command works the same as the more command but offers more flexibility in navigation?
(Multiple Choice)
4.9/5
(44)
The functions of the three permission types (read, write, and execute) are applied the same for files and directories.
(True/False)
4.9/5
(37)
Which variable assignment method is useful when you need information from the user to complete the script?
(Multiple Choice)
5.0/5
(37)
The head command displays the first ____ lines of a text file.
(Multiple Choice)
4.9/5
(34)
The case statement syntax requires a(n) ____ to mark the end of each code portion matching a specific value.
(Multiple Choice)
4.8/5
(33)
With a compiled program, all the source code is converted to machine code and stored in a ____ before the user runs the script.
(Multiple Choice)
4.8/5
(32)
Match each statement with an item
-Starts the portion of code specifying what to do if the condition evaluates to false.
(Multiple Choice)
5.0/5
(42)
The if statement can only return a binary zero or one condition.
(True/False)
4.7/5
(43)
Match each statement with an item
-Indicates the end of the code to be repeated.
(Multiple Choice)
4.7/5
(32)
What is the corresponding numeric notation for a file with rw-rw-r-- permissions?
(Multiple Choice)
4.9/5
(39)
The purpose of a(n) ____________________ is to add documentation information for users and anyone else who might need to modify the script.
(Short Answer)
4.8/5
(28)
Showing 21 - 40 of 48
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)