Read the following code snippet:
1. for filename in *; do
2. if [ -f $filename ]; then
3. ls -l $filename
4. file $filename
5. else
6. echo $filename is not a regular file.
7. fi
8. done
What does '-f' in line 2 mean?
Correct Answer: It tests all the items in the current working directory
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More LAMP MCQ Questions