Basic Regular Expressions (UNIX)

Basic Regular Expressions

^abc
BOLabc at the beginning of the line
abc$
EOL
abc at the end of the line
A*
Any amount of characters
matches any sqec or more of A`s i.e A, AAAAAA, AA, AAAAAAAAAA
.
Any 1 Character
Any Character
.*
Any Characters Any Characters
a[a-z0-9]c
Range
Between a and c any lowercase letter or number i.e a7c avc
Rick Donato

Want to become a UNIX expert?

Here is our hand-picked selection of the best courses you can find online:
UNIX Administration Fundamentals
Vim Masterclass
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial