Bash Loop File or Directory by Name

This is a simple method how to list file or directory with bash programming :

If we want to filter ouput data (example : we want to filter list file with *.sh tipe data, so we can change code with :

4 Comments

Add a Comment

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.