Open main menu

CDOT Wiki β

Changes

Tutorial9: Regular Expressions

No change in size, 08:42, 28 February 2021
Regular Expressions vs. Filename Expansion
===Regular Expressions vs. Filename Expansion===
<table align="right"><tr valign="top"><td>[[Image:re-1.png|thumb|right|350px|'''Filename expansion symbols''' allow the Linux shell to expand filenames as arguments (referred to as “globbing”).]]</td><td>[[Image:re-2.png|thumb|right|150px200px|'''Concept''' of matching a simple pattern of text contained within a text file.]]</td></table>In a previous lesson, you learned that '''filename expansion symbols''' allow the Linux shell to expand filenames as arguments (referred to as “globbing”) for file management commands. This is very useful for managing multiple files sharing similar characteristics such as the same file extension.
''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''', '''more''', '''head''', '''tail''', '''sort''', '''uniq''', '''cut''', '''tr''', and '''wc'''.<br><br>
13,420
edits