Bash Scripting - Conditionals
Which condition correctly checks if the file
report.log exists and is not empty in bash?report.log exists and is not empty in bash?-s returns true if file exists and size is greater than zero.-e checks existence only.-f checks if it is a regular file.-r checks readability.-s alone suffices.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions