I am trying to traverse through the sub directories under current directory. There are certain files that i want to access and process inside each sub--directories. Can anyone help how can I access files inside sub directories?
"
for dir in /home/ayushi/perfios/fraud_stmt/*;
do echo $dir;
done;
"
This above script will echo all the sub directories. but instead of echoing I want to go inside the directories and access files that are present inside it.
lsinstead ofecho