1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
mamaluj [8]
4 years ago
12

Write a script called checkLetter.sh Review Greeting.sh for an example. Use a read statement and ask user to "Enter A, B, or C:

"
If user types A, echo "You entered A"
If user types B, echo " You entered B"
If user types C, echo " You entered C"
Use the case structure to test the user’s string.
If user types any letter from lower case ‘a through z’ or upper case ‘D through Z’, echo "You did not enter A, B, or C".

Computers and Technology
1 answer:
Artist 52 [7]4 years ago
7 0

Answer:

The code is given as below: The input and output is as given for one case.

Explanation:

echo -e "Enter A, B or C : \c" #Printing the line on the screen

read -rN 1 test #read the character in the variable test

echo

case $test in #Setting up the case structure for variable test

[[:lower:]] ) #checking all lower case letters

echo You did not enter A, B or C;;

[D-Z] ) #checking upper case letters from D to Z

echo You did not enter A, B or C;;

A ) #Condition to check A

echo You entered A;;

B ) #Condition to check B

echo You entered B;;

C ) #Condition to check C

echo You entered C;;

esac #Exiting the case structure

You might be interested in
Question 2: Did every packet arrive in the correct order? Describe what went wrong and whether your partner was able to read the
Gemiola [76]

Answer:

No, the packets did not arrive in the right order but the TCP protocol reordered the packets. The transmission took a while, but the message was finally delivered.

Explanation:

Packets are chunks of data from a data source or message transmitted from one computer device to another. Protocols like TCP or transmission control protocol and UDP (user datagram protocol) are used for data transfer, with TCP as the more reliable protocol (it checks for errors, retransmit lost packets, and reorders received packets in the destination device) and slow protocol.

5 0
3 years ago
Theo would like to apply formatting to record data based on values in comparison with values in other fields. Which option shoul
poizon [28]

Answer:

Conditional Formatting

Explanation:

A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to create, store, modify, retrieve and manage data or informations in a database. Generally, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.

A data dictionary can be defined as a centralized collection of information on a specific data such as attributes, names, fields and definitions that are being used in a computer database system.

In a data dictionary, data elements are combined into records, which are meaningful combinations of data elements that are included in data flows or retained in data stores.

This ultimately implies that, a data dictionary found in a computer database system typically contains the records about all the data elements (objects) such as data relationships with other elements, ownership, type, size, primary keys etc. These records are stored and communicated to other data when required or needed.

Conditional formatting is a feature found in a lot of spreadsheet software applications such as Microsoft Excel and it avails end users the ability to apply specific formatting options to cells based on certain defined criteria.

Basically, it is used for highlighting, emphasize, comparing or differentiating between data (information) stored in a spreadsheet document i.e data values that are lesser than or greater than a specificied value.

In this scenario, Theo would like to apply formatting to record data based on values in comparison with values in other fields. Thus, the option he should use is conditional formatting.

7 0
3 years ago
Read 2 more answers
an attacker uses the nslookup interactive mode to locate information on a domain name service (dns). what command should they ty
sashaice [31]

The command should they type to request the appropriate records for only the name servers is  set type=ns .

<h3>What is Domain Name Service?</h3>

The hierarchical and decentralized naming scheme used to identify machines reachable over the Internet or other Internet Protocol networks is called the Domain Name System. Domain names are linked to various types of information by resource records in the DNS.

The application service known as DNS transforms an IP address into a more recognizable and memorable name. When utilizing the Internet, any uniform resource locator (URL) entered into any Web browser's location box will be converted into a specific IP address by one of the millions of DNS servers.

Both interactive and non-interactive modes of Nslookup can be used. Enter nslookup at the command line and press return to use in interactive mode. An nslookup command prompt ought to appear. At the command prompt, type nslookup options to use in non-interactive mode.

Hence, The command should they type to request the appropriate records for only the name servers is  set type=ns .

To learn more about Domain Name Service refer to:

brainly.com/question/13883687

#SPJ4

6 0
2 years ago
Give an explanation of one network connection (it will every helpful​
charle [14.2K]

Answer:

WiFi, Ethernet, Broadband, Dial-up. Any of those.

Explanation:

Network connections are all different. Those listed are some of the many examples of network connections.

7 0
3 years ago
n 3 to 4 sentences, write a note to a friend describing how to move text from one part of a document to a different part of the
EleoNora [17]
Select the part you want to move.  Highlight it, and click ctrl+x.  Then, go to the place you want to put it.  Click ctrl+v.  It should be cut and pasted
8 0
3 years ago
Read 2 more answers
Other questions:
  • In memory ads for DIMMs, you notice DDR 2400 CL15 in one ad and PC4 21300 CL9 in another. Which ad is advertising the faster mem
    12·1 answer
  • The a0 is the part of the central processing unit that performs arithmetic calculations for the computer.
    8·1 answer
  • Can someone please tell me how to divide 2 columns in Ms excel and put the values in one column.
    15·1 answer
  • Whats 400000 time 93823
    14·2 answers
  • The most direct way for Jonothan to gain on-the-jib experience and earn money while attending school is to apply for
    14·1 answer
  • Angelika just submitted her product for the first time, and she had 2 errors, 3 warnings, and 5 notifications. What does she nee
    6·1 answer
  • A(n) ____ occurs when a situation results in service disruptions for weeks or months, requiring a government to declare a state
    6·1 answer
  • Providing incentives for customers to learn more about your service is known as?
    7·1 answer
  • To configure a router/modem, what type of IP interface configuration should you apply to the computer you are using to access th
    10·1 answer
  • Not every design choice in your game interface requires having a thought process behind it.
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!