WRITE THE WILDCARD PATTERN FOR THE FOLLOWING
a) All files ending with letter "e"
b) All files beginning with "b" and ending with "h"
c) All files having only three characters in filename
d) All files beginning with "a" and having four characters in name
Answers
Answered by
6
Explanation:
How do I use the grep command with regular expressions on a Linux and Unix-like operating systems? How do I use grep and regular expressions (regex)to search for text/ words in Linux?
Linux comes with GNU grep, which supports extended regular expressions. GNU grep is the default on all Linux systems. The grep command is used to locate information stored anywhere on your server or workstation. Let us see fundamental of regex and how to use regular expressions in the Linux and Unix like systems.
Similar questions