Notifications
Clear all
Topic starter
A user is asking the systems administrator for assistance with writing a script to verify whether a file exists.
Given the following:
Which of the following commands should replace the <CONDITIONAL> string?
- A . if [ -f "$filename" ]; then
B. if [ -d "$filename" ]; then
C. if [ -f "$filename" ] then
D. if [ -f "$filename" ]; while
Suggested Answer: A
Posted : 25/12/2022 2:31 am