Open main menu

CDOT Wiki β

Changes

Ambiguous Filename Expansion
If you wanted You now want to list just text files (i.e. files with the extension ".txt"), one way .<br>One method to do this is to issue a the ls command and specify each file pathname as a separate argument:
But there this method is no need inefficient: it requires a LOT of typing and knowing which filenames to type all of those file pathnames 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":
13,420
edits