Bash script how to check if html file is empty?
1

Asked By: Rex Goodwin
Date created: Tue, Jun 1, 2021 4:16 AM
Date updated: Thu, Jul 21, 2022 5:44 PM
Content
Video answer: Check file type (file)

Top best answers to the question «Bash script how to check if html file is empty»
How do I check if a file is empty in Bash? You can use the find command and other options as follows. The -s option to the test builtin check to see if FILE exists and has a size greater than zero. It returns true and false values to indicate that file is empty or has some data.
Video answer: Using awk in linux to format output

Video answer: Macos terminal (zsh)
