BASH Shell script - foreach file in a directory
Example that lists all files in the /tmp directory.
#!/bin/sh
for filename in /tmp/*do echo $filenamedone;Example that lists all files in the /tmp directory.
#!/bin/sh
for filename in /tmp/*do echo $filenamedone;