Thursday, December 13, 2018

Linux / UNIX: Check If File Is Empty Or Not Using Shell Script


How do I check if a file is empty or not using bash or ksh shell script under a UNIX / Linux / macOS / OS X / BSD family of operating systems? How do I check if a file is empty in Bash?

The post Linux / UNIX: Check If File Is Empty Or Not Using Shell Script appeared first on nixCraft.