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
nikklg [1K]
3 years ago
12

Display all the lines in unixPasswd that contain at least 10 consecutive lowercase letters. How many names are there in total th

at meets this criteria?
Computers and Technology
1 answer:
Sladkaya [172]3 years ago
7 0

Answer and Explanation:

To display 10 consecutive lower case letters in Unix, we make use of the commands below. The first command finds the letters in the file and the second command counts them line by line.

$ grep '[a-z]\{10,\}' /unixPasswd/passwd

# this command displays lines with at least 10 consecutive lowercase letters or more than 10 consecutive lowercase letters

$ grep '[a-z]\{10,\}' /unixPasswd/passwd | wc -l

# this command counts the number of lines that has at least 10 consecutive lower case letters or more than 10 consecutive lowercase letters

Note: the unixPasswd is a file in passwd file. The # is used when we want to add comments, is optional here. The $ is a prompt on the terminal that begins a new command.

You might be interested in
Suppose list is a one dimensional array of size 25, where in each component is of type int. Further, suppose that sum is an int
Varvara68 [4.7K]

Answer:

# include <conio.h>

# include <iostream.h>

using namespace std;

main{

int a[25], sum;

cout<<"enter the values in array a";

for (int i=0; i<= 24 ; i++)

{

cin>>a[i];

}

sum =0;

for (int j=0;  j<=24 ; j++)

{

sum= sum + a[j];

}

cout<< sum;

getch ();

}

5 0
3 years ago
Read 2 more answers
A Molex Connector that connects into a DVD player is easily identifiable by its
Usimov [2.4K]
By its 4 pin socket. ;) Hope this helps!
3 0
3 years ago
Read 2 more answers
How do you implement instruction-level parallelism?
USPshnik [31]

A. by combining similar instructions into groups, which will then execute in parallel

5 0
3 years ago
Read 2 more answers
Hurry im TIMED
murzikaleks [220]

Answer:

tone image files

your welcome

8 0
3 years ago
A sentence that explains how one action happens because of another action is a
sammy [17]

Answer:B

Explanation:

6 0
3 years ago
Other questions:
  • You install a SATA hard drive and then turn on the computer for the first time. You access BIOS/UEFI setup and see that the driv
    8·1 answer
  • Kendall receives an email stating that a leading computer company is giving away free computers, asking her to forward the email
    15·1 answer
  • What function does a security certificate perform
    15·2 answers
  • We can log on to computer or to network through s creen<br>​
    7·1 answer
  • 3) An algorithm has a run time of O(nk ) for some integer k. On an input of size 500, the algorithm takes 16 seconds to run. On
    8·1 answer
  • What is HTML ? <br>Give a small description about html
    12·2 answers
  • What is the number reason for conflict on a team?
    12·1 answer
  • In a swap you need a variable so that one of the values is not lost ? Need help
    7·2 answers
  • Why do you need to learn about engineering and technology.
    13·2 answers
  • Hillary’s family is thinking of relocating to a different city to save money. They set up a budget comparing the cost of living
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!