Which command is being run in this script to check if file.txt exists?'''bashif [ -f file.txt ]; then echo 'file.txt exists'fi

🎲 Try a Random Question  |  Total Questions in Quiz: 70  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Bash Quiz — practice the complete quiz, review flashcards, or try a random question.

MCQs For LinkedIn Skill Assessments. Bash is a Unix shell and command language.


Which command is being run in this script to check if file.txt exists?<br>'''bash<br>if [ -f file.txt ]; then<br> echo 'file.txt exists'<br>fi<br>