answersLogoWhite

0

To search a file for lines which match a given regular expression.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What is the role of the grep function in the Perl programming language?

The grep function in Perl is the command-line function which can be used to search in a data set for lines which match a regular expression. The grep function is essentially a tool that can be used to search for particular information within the data.


What is man command?

The man command of the Linux operating system is the system's documentation pager. Each page argument given to man is normally the name of a program, utility or function. For example, to see the reference manual of the grep program: man grep


What is grep command?

'grep' searches a file for lines which match a given regular expression.


Using grep command search the word starting with 'h' and ending with 'o'?

grep '\<h.*o\>'


Where can one find information about UNIX grep command?

The grep command is used to search for text, or lines containing certain words or strings of words. Stackoverflow, techonthenet, linux are a few sites that tell more about this command


Which command in UNIX can search a pattern in documents and list them in line format?

Use the 'grep' command


In Linux this connects the output of the first command with the input of the second command?

You would use a pipe. For example. ls | grep cool The output of ls(the list of files in your current directory) is given to grep. Grep then finds and prints file names that include the word cool in them.


Unix command to identify defunct processes?

PS -eaf|grep defunct


Which utility would you use to find a string in a text file?

Use the 'grep' command.


What command would you use to locate occurrences of a particular character string in files?

grep


Which utility command will output the number of lines in the standard input that contain the word a or A?

grep -ci a


What is the function of grep?

To search a file for lines which match a given regular expression.