Changes

Jump to: navigation, search
Filename Expansion
a.txt b.txt c.txt 1.txt 2.txt 3.txt abc.txt work.txt</span>
[[Image:globbing-demo-2.png|thumb|right|400px|'''Globbing''' is the process of expanding filenames as separate arguments that match an argument that uses a '''wildcard symbol'''<br>(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":
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-2.png|thumb|right|400px|'''Globbing''' is the process of expanding filenames as separate arguments that match an argument that uses a '''wildcard symbol'''<br>(such as '''*''').]]
<span style="color:blue;font-family:courier;>'''ls *.txt'''<br>
13,420
edits

Navigation menu