≡ Menu

x script

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

How do I check if file is empty or not using bash or ksh shell script under UNIX / Linux / OS X / BSD operating systems?
[click to continue…]

Sysadmin because even developers need heroes!!!