read and echo file name under a dir line by line
#!/bin/sh for f in $(ls); do echo $f; done for f in $(ls); do echo "$f"_newname; done