🎴 Flashcard Mode

Ab Initio and Unix Shell Scripting

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Command to verify whether the file is present in the current path.

AnswerClick to flip back
A
1 and 2
💡 Explanation:

Both -f (tests if file exists and is regular file) and -e (tests if file exists regardless of type) can verify a file's presence. -f is more specific for regular files, while -e works for any file type including directories.

Change Mode