Bash Scripting - Loops
What is the output of this script if the current directory contains files: file1.txt, file2.log, and a directory named docs?
for item in *; do if [ -d "$item" ]; then echo "Dir: $item"; else echo "File: $item"; fi; done