Regular Expressions In grep
Feb 18, 2010, 06:02 (0 Talkback[s])
(Other stories by Vivek Gite)
[ Thanks to An Anonymous Reader for
this link. ]
"How do I use the Grep command with regular expressions
under Linux operating systems?
"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. Regular Expressions is nothing but a pattern
to match for each input line. A pattern is a sequence of
characters.
"Following all are examples of pattern:
^w1
w1|w2
[^ ]
Complete
Story
Related Stories:
- Linux Newbie : Why grep almost never yields something productive(Feb 04, 2010)
- 6 of the best desktop search tools for Linux(Jan 28, 2010)
- Tech Tip: Dereference Variable Names Inside Bash Functions(Jan 15, 2010)
- The best Linux desktop search tools(Jan 11, 2010)
- Bash 101: Working at the CLI(Jan 10, 2010)
- A short tutorial on linux dialog utility(Dec 31, 2009)
- Grep and print control characters in file(Dec 04, 2009)
- Finding Things on Linux and Understanding Regular Expressions(Sep 14, 2009)
- Learn Linux, 101: The Linux command line(Aug 28, 2009)