Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Shell scripts are scripts that invoke a shell program. Which of the following invokes the Bourne shell program? 1 point # ! / bin /

Shell scripts are scripts that invoke a shell program. Which of the following invokes the Bourne shell program?
1 point
#!/bin/sh
#!/bin/zsh
#!/bin/bash
#!/bin/ksh
2.
Question 2
What is one benefit of shell scripts over compiled languages?
1 point
Easier and faster to develop
Shorter runtimes
Interpreted at runtime
Listed line by line in text files
3.
Question 3
Which symbol is used for chaining filter commands?
1 point
vertical bar |
colon :
plus sign +
equals sign =
4.
Question 4
What results from chaining filters together?
1 point
Pipeline
Loader
Net
Multi-use script
5.
Question 5
What symbol do you use to a define shell variable?
1 point
equal sign =
greater than symbol >
dollar sign $
plus sign +
6.
Question 6
Which command lists all environment variables?
1 point
export
grep
env
-env
7.
Question 7
Which of the following is a cron job syntax?
1 point
time day date command
m h dom mon dow command
command m h dom mon dow
crontab -e
8.
Question 8
Scheduling cron jobs involves a series of steps. Which command opens the crontab configuration file using the default text editor?
1 point
edit crontab
crontab
crontab -e
cat crontab
9.
Question 9
Quoting specifies whether the shell should interpret special characters as metacharacters, or escape them. When used in conjunction with the echo command, which one of the following statements is true?
1 point
Double quotes are used to interpret all contents as literal characters
The backslash \ will not escape metacharacters when used within single quotes.
You can use the backslash \ to interpret a single character as a metacharacter
Single quotes are used to interpret all contents as literal characters.
10.
Question 10
I/O redirection is a set of features that redirect either the standard input or the standard output. Which symbol redirects an error message to a file?
1 point
<
>
>>
2>

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

f. Did they change their names? For what reasons?

Answered: 1 week ago