ls Command
Purpose:
Executes the Linux ls command
Syntax:
ls pattern
Comments:
pattern is a regular expression
Based on Linux cat command. .Supplying quotes around file name is not necessary unless filename contains spaces in terminal mode.
Example:
ls *.hex
ls \".*\\.hex\ ! List hex files"); ls \".*\\.db\ ! List db files"); "ls \".*\\.(wav|mp3)\ ! List Audio files"); ls -R ! List recursive"); ls \"^2021.*\\.(wav|mp3)\ ! jpg and wav that start with 2021"); ls \".*\\.(bmp|jpg|jpeg|png)\ ! List image files");