diff --git a/Fot_Loop_with_Commands.sh b/Fot_Loop_with_Commands.sh new file mode 100644 index 0000000..cf6e6ef --- /dev/null +++ b/Fot_Loop_with_Commands.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +for item in * +do + if [ -f $item ] + then + echo $item + fi +done