loop through files in directory

hi all

i have some files present in a directory
i want to loop through all the files in the directory

each time i loop
i should change the in_file parameter in the control file and load it into a table using sql loader

there is only one table where i have to load alll the files

how can i do it?

atleast if i can get how to loop through the files it will be helpful for me

thanks
rajesh

for file in *
do
  : do something with "$file"
done

hi johnson thank you.. very much

one more question

in side the loop

i want to create the file and write some content into it...

how to do it

regards
raj

create a file ....."touch foo.txt" for example
command > foo.txt write in the file