Given the following script that is run through
./test.sh hello goodbye
:
if [ -f $2 ]; then echo “I am here” fiWhen will “I am here” be printed?
- If there are two files in the current directory
- The script will always print “I am here”
- Never
- If a file called “hello” exists in the current directory
- If a file called “goodbye” exists in the current directory
Please login or Register to submit your answer