(shell)show all the files in one path # cat aaa-ls.sh yourfilenames=`ls ./*.jpg` for eachfile in $yourfilenames do echo $eachfile done