Give a regular expression that finds two things, try to
come up with regular expressions that find each
individually using "egrep" command?

Answer Posted / manikantan t s

egrep -e <expresseion 1> -e <expression 2> <file name>

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is {} in find command?

661


What is the use of egrep command in unix?

703


How do I run a whois command?

690


What is awk good for?

677


What is the command to find maximum memory taking process on the server?

768






Which command is used to restrict incoming messages?

674


Which unix command lists files/folders in alphabetical order?

692


What is $0 bash?

749


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1065


What is grep short for?

646


What is ‘ps’ command for?

721


What does #!/ Bin sh do?

669


What is the command to view process running?

673


What does find command return in unix?

689


How do I clear my terminal history?

675