Hello, I want to test to see if a file is empty so its file is a size of 0.
im pretty sure its test -s filename, i have to look at the man pages to make sure, but thats not my prob. How would I be able to put test -s file, in an if statement so that if the answer is true, then do something. Ive tried to compare its result to an int, and other means, I just cant figure it out
Thanks a bunch