Exam 7: Working With the Bash Shell
Exam 1: Introduction to Linux50 Questions
Exam 2: Linux Installation and Usage50 Questions
Exam 3: Exploring Linux Filesystems50 Questions
Exam 4: Linux Filesystem Management50 Questions
Exam 5: Linux Filesystem Administration50 Questions
Exam 6: Linux Server Deployment50 Questions
Exam 7: Working With the Bash Shell50 Questions
Exam 8: System Initialization and X Windows50 Questions
Exam 9: Managing Linux Processes50 Questions
Exam 10: Common Administrative Tasks50 Questions
Exam 11: Compression, System Backup, and Software Installation50 Questions
Exam 12: Network Configuration50 Questions
Exam 13: Configuring Network Services50 Questions
Exam 14: Troubleshooting, Performance, and Security50 Questions
Select questions type
What command can be used to replace characters in a file sent via Standard Input?
(Multiple Choice)
4.7/5
(29)
Match each correct item with the statement below.
a.counter variable
b.decision construct
c.environment variables
d.file descriptors
e.hashpling
f.loop construct
g.redirection
h.Standard Error (stderr)
i.Standard Input (stdin)
j.Standard Output (stdout)
-The first line in a shell script, which defines the shell that will be used to interpret the commands in the script file.
(Short Answer)
4.9/5
(27)
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.7/5
(29)
Which command can be used to count the number lines, words, and characters in a file?
(Multiple Choice)
4.9/5
(27)
What character combination at the start of a shell script are referred to as a hashpling, and allow for the specification of the shell that interprets the contents of the script?
(Multiple Choice)
4.9/5
(28)
Select the two commands below that will provide the number of lines in a file, and the number of characters in a file, respectively:
(Multiple Choice)
4.9/5
(39)
Match each correct item with the statement below.
a.counter variable
b.decision construct
c.environment variables
d.file descriptors
e.hashpling
f.loop construct
g.redirection
h.Standard Error (stderr)
i.Standard Input (stdin)
j.Standard Output (stdout)
-A special construct used in a shell script to execute commands repetitively. Common decision constructs include for and while.
(Short Answer)
4.9/5
(36)
In order to redirect a file to the standard input of a command, what metacharacter should be used?
(Multiple Choice)
4.8/5
(29)
You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.
(True/False)
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.9/5
(32)
Match each correct item with the statement below.
a.counter variable
b.decision construct
c.environment variables
d.file descriptors
e.hashpling
f.loop construct
g.redirection
h.Standard Error (stderr)
i.Standard Input (stdin)
j.Standard Output (stdout)
-A file descriptor that represents information input to a command during execution.
(Short Answer)
4.9/5
(35)
Match each correct item with the statement below.
a.counter variable
b.decision construct
c.environment variables
d.file descriptors
e.hashpling
f.loop construct
g.redirection
h.Standard Error (stderr)
i.Standard Input (stdin)
j.Standard Output (stdout)
-A file descriptor that represents any error messages generated by a command.
(Short Answer)
4.8/5
(38)
Match each correct item with the statement below.
a.counter variable
b.decision construct
c.environment variables
d.file descriptors
e.hashpling
f.loop construct
g.redirection
h.Standard Error (stderr)
i.Standard Input (stdin)
j.Standard Output (stdout)
-A variable that is altered by loop constructs to ensure that commands are not executed indefinitely.
(Short Answer)
4.9/5
(41)
Match each correct item with the statement below.
a.counter variable
b.decision construct
c.environment variables
d.file descriptors
e.hashpling
f.loop construct
g.redirection
h.Standard Error (stderr)
i.Standard Input (stdin)
j.Standard Output (stdout)
-The numeric labels used to define command input and command output.
(Short Answer)
4.9/5
(37)
The ____________________ command takes user input from stdin and places it in a variable specified by an argument.
(Short Answer)
4.9/5
(27)
The environment variables that are set by default and their current values can be viewed with what command?
(Multiple Choice)
4.8/5
(33)
Select the metacharacter that can be used to send the standard output of one command to another command as standard input:
(Multiple Choice)
4.9/5
(42)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)