Check if File Empty or Not on Linux Get link Facebook X Pinterest Email Other Apps December 21, 2020 #!/bin/bash if [ -s /path/to/myfile.txt ]then echo "File is not empty"else echo "File is empty"fi Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment