i want to run a small shell script which goes through some folders and executes a command in that folder
this works when i execute it on the server by (unix bash)shell:
for f in $(ls /myfolder/ );do
this is the error message I get:
custom_script229402634541056275: syntax error at line 1: `$' unexpected
I also tryed to put the code in an external file and run that but it didnt help.
Is and if so who is it possible to run somthing like that?
Grues + merci