Question: When writing conditions in conditional statements for shell scripts, there are options that can be used to check if a file exists. It will return
When writing conditions in conditional statements for shell scripts, there are options that can be used to check if a file exists. It will return true if the file exists and also if other properties per option are true. Which of the following options can be used to check for the existence of a file?
M true if file exists and is mutable
B true if file exists and is writeable
Z true if file exists and is nonreadable
A true if file exists
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
