Changes

Jump to: navigation, search
Filename Expansion
a.txt b.txt c.txt 1.txt 2.txt 3.txt abc.txt work.txt</span>
 
But this method is '''inefficient''': it requires a LOT of typing and knowing which filenames to include as separate arguments.<br>You can use a special character to indicate to the Bash shell to match all files that end with the extension ".txt":
[[Image:globbing-demo.png|thumb|right|400px|'''Globbing''' is the process of expanding filenames as separate arguments that match an argument that uses a '''wildcard symbol''' (such as '''*''').]]
But this method is '''inefficient''': it requires a LOT of typing and knowing which filenames to include as separate arguments.<br>You can use a special character to indicate to the Bash shell to match all files that end with the extension ".txt":
 
<span style="font-family:courier;>'''ls *.txt'''<br>
13,420
edits

Navigation menu