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
Vika [28.1K]
4 years ago
7

Jo has received a text file which contains multiple instances of his name spelled correctly as well as multiple instances spelle

d as Joe. Which of the following commands would search a text file for any occurrences of either spelling and display them out to the terminal? (Choose three.)
A. grep "Joe?" document1.txt
B. grep -E "Joe?" document1.txt
C. grep "Joe*" document1.txt
D. grep -E "Joe*" document1.txt
Computers and Technology
1 answer:
hodyreva [135]4 years ago
8 0

Answer:

B. grep -E "Joe?" document1.txt

C. grep "Joe*" document1.txt

D. grep -E "Joe*" document1.txt

Explanation:

Grep is an acronym that stands for Global Regular Expression Print.

Grep is a Linux / Unix command line tool used to search for a string of characters in a specified file. The text search pattern is called a regular expression. When it finds a match, it prints the line with the result. The grep command is handy when searching through massive log files.

Using the grep Command

The grep command consists of three parts in its most basic form. The first part starts with grep followed by the pattern that you are searching for. After the string comes the file name that the grep searches through.

You might be interested in
The part of a door frame that comes in contact with the door is the _________.
wlad13 [49]
The part of a door frame that comes in contact with the door is the jamb
4 0
3 years ago
PLZ HELP FAST!!!! 
garik1379 [7]
Portable computing tools for example laptop
4 0
4 years ago
Read 2 more answers
The algorithm ____ is used to find the elements in one range of elements that do not appear in another range of elements.
Musya8 [376]

Answer:

A. set_union

Explanation:

The algorithm set_union is used to find the elements in one range of elements that do not appear in another range of elements.

4 0
3 years ago
Discuss the purpose purpose of of network attached storage devices
valentinak56 [21]

Answer:

A network attached storage (NAS) device is a server connected to a network with the sole purpose of providing storage. NAS devices often use a RAID configuration. An external hard disk is a separate freestanding hard disk that connects with a cable to a USB or FireWire port on the system unit or communicates wirelessly. External hard disks have storage capacities up to 4 TB and more. A removable hard disk can be inserted or removed from a built-in or external drive. Removable hard disks have storage capacities up to 1 TB. A disk controller consists of a special-purpose chip and electronic circuits that control the transfer of data, instructions, and information from a disk to and from the system bus and other components in a computer. A hard disk controller may be part of the hard disk on the motherboard, or it may be a separate adapter card inside the system unit.

Please Mark Brainliest If This Helped!

5 0
3 years ago
Write a function to sum the following series:
Phoenix [80]

Answer:

<u>C program to find the sum of the series( 1/2 + 2/3 + ... + i/i+1)</u>

#include <stdio.h>

double m(int i);//function declaration  

//driver function

int main() {

int i;

printf("Enter number of item in the series-\n");//Taking input from user

scanf("%d",&i);

double a= m(i);//Calling function

printf("sum=%lf",a);

return 0;

}

double m(int i)//Defining function

{

double j,k;

double sum=0;

for(j=1;j<i+1;j++)//Loop for the sum

{

k=j+1;

sum=sum+(j/k);

}

return sum;

}

<u>Output:</u>

Enter number of item in the series-5

sum=3.550000

5 0
3 years ago
Other questions:
  • Match the following technologies with their applications.
    9·1 answer
  • What are two methods for playing a slide show from the first slide?
    9·2 answers
  • Which equation gives you the amount of work performed?
    13·1 answer
  • Mark for review (Will be highlighted on the review page) 11. A feature in Excel that allows you to graphically display in a sing
    10·1 answer
  • Gmod how to make someone admin on a lan server
    6·2 answers
  • What can you use on Code.org's Web Lab to find and fix problems when you are writing code for your website?
    13·1 answer
  • Rate my dog out of ten give explanation why
    12·1 answer
  • Aarti, a museum employee, has created a table in access titled “Roman Achitecture”. She has included a field that links users im
    8·1 answer
  • Please answer that and i'll gave you branlliest
    15·1 answer
  • You are about to repair and change the resistor (small components),but the components are too small to solder and hold,what tool
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!