13,420
edits
Changes
→Regular Expressions vs. Filename Expansion
===Regular Expressions vs. Filename Expansion===
Filename Expansion symbols are used to search, edit and manipulate text and are used with Linux file management commands such as '''ls''', '''rm''', '''mv''', '''cp''', '''cat''', '''less''' and '''more'''. This can represent text contained in files or text as a result of issuing Linux commands using a pipeline.
[[Image:re-2.png|thumb|right|250px|A regular expression is a combination of two types of characters: literals and special characters. In combination, these characters define a logical pattern. ''' command to display directory structure.]]A '''regular expression''' is a combination of two types of characters: '''literals''' and '''special characters'''. In combination, these characters define a logical pattern. Strings of text can be compared to this pattern to see if they fit the pattern defined by the expression.
Reference: https://www.whoishostingthis.com/resources/regex/